In Brief

  • XPath 2.0 builds on top of XPath 1.0 and adds much more power, including expressions like if , for , some , and others that we'll see in depth in the upcoming chapters.

  • Sequences are new in XPath 2.0, and they are ordered collections of zero or more items. And an item is either an atomic value or a node.

  • XPath 1.0 supported only four data types, XPath 2.0 extends that to support not only the node kinds supported in XPath 1.0, but also many atomic types, which include the primitive simple types defined by the XML Schema specification and values whose types are derived from them by restriction in a schema.



XPath. Navigating XML with XPath 1.0 and 2.0 Kick Start
XPath Kick Start: Navigating XML with XPath 1.0 and 2.0
ISBN: 0672324113
EAN: 2147483647
Year: 2002
Pages: 131

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net