XPath examples

Peter Kronenberg <[email protected]> Wed, 30 May 2012 19:10:41 +0000
Newsgroups gmane.comp.java.jdom.general
Message-ID <[email protected]>
Where can I find some more examples of Xpath usage in JDOM2?  The online documentation is a bit sparse.

I'm specifically confused about how the variables are used.  And if I'm not using variables, it seems that I must use the XPathBuilder to set the namespace.  Wouldn't it make sense for XPathFactory to have a compile(String expression, Namespace ns, Filter filter) version?
Or XPathExpression could have a setNamespace() method.

Thanks

Peter Kronenberg
Software Engineer
Technica Corporation
[email protected]<mailto:[email protected]>
703.885.1222 (Office)

The information contained in this transmission may contain privileged and confidential information. 
It is intended only for the use of the person(s) named above. 
If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. 
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. 
Technica Corporation does not represent this e-mail to be free from any virus, fault or defect and it is therefore the responsibility of the recipient to first scan it for viruses, faults and defects. 
To reply to our e-mail administrator directly, please send an e-mail to [email protected]. Thank you.

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]