Book Review: XQuery by Priscilla Walmsley

Part of: The RAM Review

As increasing amounts of data are stored, processed and exchanged using XML, the ability to access that data in an efficient, organized, and streamlined manner becomes ever so necessary. In the traditional data world, the standard is by using a SQL query, and as of January 2007 in the XML world, we officially have XQuery.

Written by Priscilla Walmsley, XQuery is for query writers who are familiar with XML basics, but perhaps not skilled in other XML-related technologies. It is both a tutorial as well as a reference book. It covers namespaces, schemas, built-in types and regular expressions. It also covers XQuery's support for filtering, sorting, and grouping data as well as how to use FLWOR expressions, XPath and XQuery tools for extracting and combining information.

While the book breaks out into 25 chapters and three appendixes, I will break it down in to its six functional areas. The book is approximately two-thirds's tutorial and one-third reference. It uses a running example that reflects many XML structures.

Chapters 1-2 are a high level overview of XQuery. In these chapters the author goes through what XQuery is, what it can do and lays out the example structures that will be used thought the book. She explains the design of the language as well as the data model.

Chapters 3-9 explore how to write fairly sophisticated queries with out using namespaces and schemas. Here she gets in to the building blocks that will be used to create your queries; that is, things like keywords, whitespace, function calls, and variables. You will learn to navigate input documents using paths, adding elements and attributes to results, selecting and joining using FLWOR's expressions, sorting and grouping, as well as advance queries.

Chapters 10-15 provide advanced concepts for those who want to take advantage of modularity. You will also look at XML namespaces, types, nodes and atomic values as well as learning about queries, prologs, and modules. You will get into schemas, static typing and the overall principles of query design.

Continued on the next page Page 1 — Page 2

Article tags

Spread the word
Bookmark and Share
Profile image for t-michael-testi

Article Author: T. Michael Testi

T. Michael Testi is a writer and a photographer out of Edmond Oklahoma. You can see his photographic and art work at T Michael Imaging as well as on Facebook.

Visit T. Michael Testi's author pageT. Michael Testi's Blog

Read comments on this article, and add some feedback of your own
  • No image found

Article comments

Add your comment, speak your mind

Personal attacks are NOT allowed.
Please read our comment policy.
Please preview your comment.

blogcritics lists for Feb 14, 2012

fresh articles Most recent articles site-wide

fresh comments Most recent comments site-wide

most comments Most comments in 24hrs

top writers Most prolific Blogcritics for January

top commenters Most prolific Commenters in 24 hrs