The java standard tutorial http://download.oracle.com/javase/tutorial/jaxp/xslt/xpath.html explains the XPath standard itself but not the java api for XPath. I need:
1) I know XPath syntax, that is how to reference /person/dateofbirth element. What is the java api to select this node and get its text content?
2) can I obtain DOM objects via XPath?
3) is somewhere an official tutorial to the api and not to the xpath itself?
The real question is the 3rd point since the issue is having official and first-hand information as a base.
That tutorial is about XSLT and th use of XPath in that context. I guess the most “official” documentation of the XPath API is this:
http://download.oracle.com/javase/6/docs/api/index.html?javax/xml/xpath/package-summary.html
It is really very simple.