XPath

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ]

Articles
  

Articles:
  • The Java XPath API by Elliotte Rusty Harold   - [Clicks: 34]
    XPath expressions are much easier to write than detailed Document Object Model (DOM) navigation code. When you need to extract information from an XML document, the quickest and simplest way is to embed an XPath expression inside your Java program. Java 5 introduces the javax.xml.xpath package, an XML object-model independent library for querying documents with XPath.
    http://www-128.ibm.com/developerworks/java/library/x-javaxpathapi.html - Jul, 2006
  • Working XML: Get started with XPath 2.0 by Benoit Marchal   - [Clicks: 29]
    XPath 2.0 is the foundation of two essential recommendations currently in the final stages of development at W3C: XSLT 2.0 and XQuery. It is a major rewrite designed to significantly increase the power and efficiency of the language. In this article, Benoit Marchal shows how the new data model enables you to easily write more sophisticated requests.
    http://www-128.ibm.com/developerworks/library/x-wxxm35.html - May, 2006
  • Practical data binding: XPath as data binding tool, Part 2 by Brett McLaughlin   - [Clicks: 41]
    Once you understand XPath syntax and location paths, accessing XML without the overhead of DOM and SAX is possible and even easy. Fortunately for Java developers, the Java API for XML Processing (JAXP) provides a native Java solution for creating XPath requests and using the results in your applications. In this article, the second in a two-part series, you'll learn how to create an XPath request, execute that request, and work with the resulting node set -- all within a comfortable Java environment.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/java/library/x-pracdb9/index.html - Jan, 2006

[Top]