[jdom-interest] XPath Classes
victor.toni at ebuconnect.de
Tue Aug 30 14:24:44 PDT 2005
Bradley S. Huffman wrote:
>Victor Toni writes:
>>I guess these are relicts from the time where JDOM had not the Content
>>class as a parent for element, PI, comment, etc.
>Nope, it's because a XPath function can return more than nodes in from
>document. They can also return a number or a string.
Correct, but the context should be a node. As I just discovered
Attribute has no common super class with Content nor is it a subclass of
it so this won't work as expected.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jdom-interest