Hi, I've committed an implementation of the id() function in cvs. It's a combination of Jerome's and my implementation of it. It only gives results for DOM, but doesn't raise an exception in JDOM or DOM4J. Any Navigator that can look up id's can provide it using an extra method in org.jaxen.Navigator. However, as far as I can see it is not currently possible with the JDOM and DOM4J api's, since they do not expose the DTD-type of an attribute, nor do they have a getElementById method like DOM has. (Please correct me if I'm wrong) The id function only works when a DTD is used that declares an attribute as being of the ID type. Example: <!ELEMENT bar (#PCDATA|cheese)*> <!ATTLIST bar id ID #REQUIRED> <!ELEMENT cheese (#PCDATA)> <!ATTLIST cheese kind ID #IMPLIED> The effect of not implementing it in JDOM or DOM4J is the same as not providing a DTD with an XML document; the id function is allowed to return an empty nodeset in this case. - Erwin _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest