> Of course, if we had the XPath stuff, I could just go something like:
>
> Element personElem =
> doc.resolveQuery ("id(//contact[1]/person-ref/@person)");
>
> but that's somewhat of a pipe dream. :)
Have you looked at the XPath work being done in jdom-contrib?
-jh-