O'Reilly logo

XQuery from the Experts: A Guide to the W3C XML Query Language by Philip Wadler, Jim Tivy, Jérôme Siméon, Michael Rys, Jonathan Robie, Michael Kay, Mary Fernández, Denise Draper, Don Chamberlin, Howard Katz - Editor

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

Chapter 3. XQuery, XPath, and XSLT

Michael Kay

This chapter explores the relationships between XSLT, XPath, and XQuery. It explains why we need three languages rather than one and the way in which they are interrelated. For readers who might be familiar with XSLT, it explains the areas in which XQuery is similar to XSLT, and the areas in which it is necessarily different. It also explores some of the differences between transformation and query that affect the implementation architecture—in particular, the relationship to schemas and type definitions, and the differences in the way optimization is carried out in the two environments.

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