XQuery is a new language for querying XML content.
It’s a charming blend of declarative pattern matching and functional programming language. The XPath expressions you’ll use to identify XML nodes will feel familiar if you come from the XSLT world.
But you also have a concise, easy to read and powerful syntax at
your disposal for manipulating those nodes.
A single XQuery program can operate on many documents at once,
and can produce more than one document as a result. It’s easy to
join elements from several documents to create a new one, or to
split one document into many. You can create new documents from
With XQuery, you can transform, enhance, redact, manipulate, render,
fold, spindle and mutilate. The possibilities are endless, and we’ll explore
them in depth.