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 ...

Get Sams Teach Yourself XML in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.