O'Reilly logo

Sams Teach Yourself XML in 24 Hours, Third Edition by Michael Morrison

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 18. Querying XML Data with XQuery

 

For those not familiar with XQuery—it is like XPath + XSLT + Methamphetamines.

 
 --Brian McCallister

I bet this is the first chapter in a computer book to open with a line about methamphetamines. And for good reason, I might add! The idea behind that quote is that XQuery is like a jacked up version of XPath with a little XSLT sprinkled in for good measure. In other words, XQuery is a technology that packs some punch when it comes to drilling deep into XML data and extracting exactly the data in which you’re interested. This hour introduces you to XQuery and shows you some practical ways to put the language to use with your own XML code.

In this hour, you’ll learn the following:

  • What XQuery is

  • How to write ...

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