lects nodes in the document from the current node that match the selection no matter where they are
@
Selects attributes
Examples In the table below we have listed some path expressions and the result of the expressions:
Path Expression Result bookstore Selects all the child nodes of the bookstore element /bookstore Selects the root element bookstore Note: If the path starts with a slash ( / ) it always represents an absolute path to an element! bookstore/book Selects all book elements that are children of bookstore //book Selects all book elements no matter where they are in the document bookstore//book Selects all book elements that are descendant of the bookstore element, no matter where they are under the bookstore element //[@lang] Selects all attributes that are named lang //[@lang='eng'] Selects all attributes that are named lang and have the value eng
If you need to parse large XML's, the XmlReader can do this without reading the complete XML in memory.
@see XmlReader
@see SaxParser
@author lagerweij