O'Reilly logo

Applied XML Programming for Microsoft® .NET by Dino Esposito

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Query Is Key

An XML document is primarily a repository of information and as such must be searchable. But how? XPath was the first answer to the demand for a query tool to extract node-sets out of XML documents. But more powerful tools are needed. Today, XPath 2.0 is on the way, with XQuery 1.0 running close behind.

XPath as we know it today, and as supported by the .NET Framework, is a language for addressing parts of an XML document. XPath 2.0 presents itself as an expression language for processing sequences of text. It also comes with built-in support for querying XML documents. But what’s the difference between addressing and querying? And between XPath and XQuery?

I think that the difference between addressing and querying can be summarized ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required