How can I query my xml file?

Chris Leonardi

XPath provides a means of querying down into XML documents: http://www.w3.org/TR/xpath Look at 'Location Paths' for the syntax relevant to your particular query. Apache Xalan implements the XPath 1.0 recommendation: http://xml.apache.org/xalan-j/index.html Typically, you'd write a XSL styelsheet that uses an XPath expression to traverse your document tree and select the appropriate nodes. You can also use xpath programatically from a Java class; Xalan provides an API for that, too.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact