| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ] |
| Articles Implementations | Specifications Tutorials |
- Evaluating XPaths from the Java platform by Brett D. McLaughlin - [Clicks: 3]
No data format is harder to search than XML, but with the fairly recent introduction of the XQuery API, XML searches are now flexible and easy to perform. For Java programmers who work with XML documents using SAX, DOM, JDOM, JAXP, and more, the XQuery API for Java is a welcome addition to the programmer's toolkit. Now the power of XQuery is available to Java programmers without resorting to system calls or unwieldy APIs, all in a Sun-standardized package.
[Includes sample code]
http://www.ibm.com/developerworks/java/library/x-xpathjava/index.html - Jul, 2008 - How XQuery extends XPath by Donnie Cameron - [Clicks: 7]
XPath and XQuery are similar in some ways. XPath is even an integral part of XQuery. Both languages allow you to select bits of data from an XML document or an XML document store. In this article, you'll find descriptions of XPath and XQuery, and learn how XQuery extends XPath.
http://www.ibm.com/developerworks/xml/library/x-xqueryxpath.html - Apr, 2008
- jaxen - [Clicks: 13]
The jaxen project is a Java XPath Engine. jaxen is a universal object model walker, capable of evaluating XPath expressions across multiple models. Currently supported are dom4j and JDOM.
http://jaxen.org/
- XPath - [Clicks: 8]
XPath is a language for addressing parts of an XML document, designed to be used by both XSLT and XPointer.
http://www.w3.org/TR/xpath
- Locate specific sections of your XML documents with XPath, Part 2 by Brett D. McLaughlin - [Clicks: 2]
Part 2 of this tutorial focuses on using predicates and predicate matching in your XPaths. It covers the various selectors XPath provides for being as specific or generic in a search as you like. It also shows you how to build complex predicates into a SQL-like set of queries, all using only standard XPath syntax. You'll begin to understand the ideal applications of XPath, and you'll know when XPath is best used alongside another XML technology such as XQuery. Finally, you'll see how XPath deals with data types, particularly when you perform comparisons of attribute values to numeric values.
[Formats: html, pdf]
http://www.ibm.com/developerworks/edu/x-dw-x-introxpath2.html - Jun, 2008 - Locate specific sections of your XML documents with XPath, Part 1 by Brett D. McLaughlin - [Clicks: 2]
Part 1 of this tutorial details the XPath specification, which allows you to specify particular sections of an XML document using a directory-like syntax. You'll learn the syntax of XPath, and you'll work with tools that let you experiment with XPath. By the time you complete this tutorial, you'll be well beyond the basics of XPath. You'll have a solid understanding of nodes, wildcards, and how XPaths are evaluated, and you'll be able to combine the results of two different XPaths.
[Formats: html, pdf]
http://www.ibm.com/developerworks/edu/x-dw-x-introxpath1.html - Jun, 2008