Copyright by Kevin Howard Goldberg

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Chapter 16. XQuery 1.0

XQuery 1.0 (XML Query Language) is the third major language resulting from the eight W3C Recommendations published in January, 2007. Like XSLT 2.0 (Chapter 14), XQuery is used to select content from an XML data source, transform that content as directed, and then return this new content as either XML, HTML, or some other format. XQuery uses the XPath 2.0 language (Chapter 15) to select XML source content and to manipulate that content if necessary, just like XSLT 2.0. In fact, most of the things that you can do with XSLT 2.0, you can also do with XQuery 1.0.

XQuery does differ from XSLT 2.0 in a few significant ways; including, most noticeably, that it does not use XML syntax. This actually makes for a more compact and easily ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required