Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
41 used & new from $12.47

Have one to sell? Sell yours here
 
   
XQuery
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  
4.4 out of 5 stars See all reviews (9 customer reviews)

List Price: $49.99
Price: $31.49 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.50 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 4 left in stock--order soon (more on the way).

Want it delivered Monday, July 20? Choose One-Day Shipping at checkout. Details
24 new from $12.97 17 used from $12.47
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Frequently Bought Together

XQuery + XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer) + XSLT, 2nd Edition
Price For All Three: $100.77

Show availability and shipping details


Customers Who Bought This Item Also Bought

XSLT, 2nd Edition

XSLT, 2nd Edition

by Doug Tidwell
5.0 out of 5 stars (2)  $31.49
RESTful Web Services

RESTful Web Services

by Leonard Richardson
4.4 out of 5 stars (37)  $26.39
XSLT Cookbook, Second Edition (Cookbooks (O'Reilly))

XSLT Cookbook, Second Edition (Cookbooks (O'Reilly))

by Salvatore Mangano
4.6 out of 5 stars (29)  $32.97
Definitive XML Schema (Charles F. Goldfarb Definitive XML Series)

Definitive XML Schema (Charles F. Goldfarb Definitive XML Series)

by Priscilla Walmsley
4.6 out of 5 stars (32)  $33.38
Programming Collective Intelligence: Building Smart Web 2.0 Applications

Programming Collective Intelligence: Building Smart Web 2.0 Applications

by Toby Segaran
4.5 out of 5 stars (48)  $26.39
Explore similar items

Editorial Reviews

Product Description

With the XQuery 1.0 standard, you finally have a tool that will make it much easier to search, extract and manipulate information from XML content stored in databases. This in-depth tutorial not only walks you through the XQuery specification, but also teaches you how to program with this widely anticipated query language.

XQuery is for query writers who have some knowledge of XML basics, but not necessarily advanced knowledge of XML-related technologies. It can be used both as a tutorial, by reading cover to cover, and as a reference, by using the comprehensive index and appendixes. Either way, you will find the background knowledge in namespaces, schemas, built-in types and regular expressions that is relevant to writing XML queries. This book provides:

  • A high-level overview and quick tour of XQuery
  • Information to write sophisticated queries, without being bogged down by the details of types, namespaces, and schemas
  • Advanced concepts for users who want to take advantage of modularity, namespaces, typing and schemas
  • Guidelines for working with specific types of data, such as numbers, strings, dates, URIs and processing instructions
  • A complete alphabetical reference to the built-in functions and types

You will also learn about 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. With this book, you will discover how to apply all of these tools to a wide variety of data sources, and how to recombine information from multiple sources into a single final output result.

Whether you're coming from SQL, XSLT, or starting from scratch, this carefully paced tutorial takes you through the final 1.0 standard in detail.



About the Author
Priscilla Walmsley has been working closely with XML Schema and XQuery for years. She was a member of the W3C XML Schema Working Group from 1999 to 2004. As a result of her work with XML Schema, Ms. Walmsley wrote the respected book "Definitive XML Schema" (Prentice Hall). Currently, Ms. Walmsley serves as Managing Director of Datypic (http://www.datypic.com), where she specializes in XML and Service Oriented Architecture (SOA) related consulting and training.

Product Details

  • Paperback: 510 pages
  • Publisher: O'Reilly Media, Inc.; illustrated edition edition (March 30, 2007)
  • Language: English
  • ISBN-10: 0596006349
  • ISBN-13: 978-0596006341
  • Product Dimensions: 9.1 x 7 x 1.1 inches
  • Shipping Weight: 1.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars See all reviews (9 customer reviews)
  • Amazon.com Sales Rank: #118,887 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #24 in  Books > Computers & Internet > Programming > Languages & Tools > XML
    #71 in  Books > Computers & Internet > Databases > Data Mining

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(11)
(9)
(2)
(2)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

9 Reviews
5 star:
 (6)
4 star:
 (1)
3 star:
 (2)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.4 out of 5 stars (9 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
13 of 13 people found the following review helpful:
5.0 out of 5 stars Best XQuery book available to date!, April 26, 2007
By Kenneth Sall (Columbia, MD United States) - See all my reviews
(REAL NAME)   
I've had this XQuery book for about a week now and it has already helped me immensely! Priscilla Walmsley (who was a member of the W3C XML Schema Working Group and I believe the XQuery Working Group as well) is an excellent writer and teacher. Her writing style is clear and concise, as anyone who read her earlier Definitive XML Schema book already knows.

"XQuery" is roughly 2/3 tutorial and 1/3 reference (by page counts). The tutorial material is thoughtfully divided into 25 bite-size chapters. The topics progress nicely from an overview and basics to important concepts such as namespace handlng, modules and static typing. The book includes 5 chapters that focus on handling specific data types (e.g, "Working with Strings"). You don't have to know XSLT but knowing XPath may be helpful. OTOH, XPath is covered in Chap. 4. There is even a chapter targeted at SQL users. I also appreciate the carefully chosen running example that is representative of many XML structures. The book also benefits from special icons indicating tips, gotchas, and compatibility issues. Longtime XML geek Simon St.Laurent was the O'Reilly editor, which is another big plus.

Walmsley has also created an incredibly useful reference site of XQuery functions, both those defined by the W3C specs and numerous others that she wrote. Others may contribute as well. [...]

I have several older XQuery books by various publishers but this book is by far the best. I highly recommend it to web developers, database developers, and data architects with even a modest XML background.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
12 of 13 people found the following review helpful:
5.0 out of 5 stars Great tutorial and reference on XQuery, May 16, 2007
By calvinnme "Texan refugee" (Fredericksburg, Va) - See all my reviews
(TOP 10 REVIEWER)      
The use of XML has become ubiquitous over the last five years, and thus a huge amount of data is now stored in XML, both as databases and as documents. XML data can include highly structured data such as sales figures, less structured data such as product catalogs, and unstructured data such as books. With such a variety of data stored as XML, in each case different elements of the data must be formatted and transformed in a particular way. This is where XQuery comes in. It is a query language that allows the user to select those XML data elements of interest, reorganize them, transform them, and finally return the results in a data structure. This book acts as an up-to-date tutorial and reference on this useful technology. There are plenty of examples shown that illustrate the concepts being presented. The following is a detailed description of the book's contents:

1. Introduction to XQuery - Provides the basic purpose and capabilities of XQuery and also acts as a quick introduction to its features. It provides a basic familiarity with the most commonly used kinds of expressions, without getting too bogged down in the details.

2. XQuery Foundations - a brief overview of the foundations of XQuery including its design, its place among XML-related standards, and its processing model. It also discusses the underlying data model behind XQuery and the use of types and namespaces in queries.

3. Expressions: XQuery Building Blocks - The basic unit of evaluation in XQuery is the expression. A query contains expressions that can be made up of a number of sub-expressions, which may themselves be composed from other sub-expressions. This chapter explains the XQuery syntax, and covers the most basic types of expressions that can be used in queries: literals, variables, function calls, and comments.

4. Navigating Input Documents Using Paths - Path expressions navigate input documents to select elements and attributes of interest. This chapter explains how to use these path expressions to select elements and attributes from an input document and apply predicates to filter those results. It also covers the different methods of accessing input documents.

5. Adding Elements and Attributes to Results - Queries often include some XML elements and attributes that structure the results. This chapter explains how you can create entirely new elements and attributes and include them in your results.

6. Selecting and Joining Using FLWORs - Describes the facilities in XQuery for selecting, filtering, and joining data from one or more input documents. Included is the syntax of FLWORs (for, let, where, order by, return) and quantitative expressions.

7. Sorting and Grouping - How to sort and group data from input documents. This chapter covers sorting in FLWORs, grouping results together, and calculating summary values using the aggregation functions.

8. Functions - Describes this useful feature of XQuery that allow a wide array of built-in functionality, as well as the ability to modularize and reuse parts of queries. There are two kinds of functions: built-in functions and user-defined functions, and this chapter looks at them both.

9. Advanced Queries - Describes syntax and techniques for some commonly requested query capabilities by showing you some creative ways to apply XQuery syntax.

10. Namespaces and XQuery - The first part provides a refresher on namespaces in XML input documents in general. Next the use of namespaces in queries is covered including how to declare and refer to them and how to control their appearance in your results.

11. A Closer Look at Types - Goes into detail on the set of built-in types in XQuery. A good explanation of the automatic type conversions performed by the processors and a description of the expressions that are relevant to type constructors, cast and castable expressions, and instance of expressions.

12. Queries, Prologs, and Modules - Discusses the structure of queries starting with the query prolog and its various declarations. The assembly of queries from multiple modules, declaration of global variables, and definition of external functions is then tackled.

13. Using Schemas with XQuery - Provides a brief overview of XML Schema. Discusses how schemas are used with queries by importing schema definitions and taking advantage of schema-defined types.

14. Static Typing - Static typing in XQuery means reporting all possible type errors at compile time instead of run time. Discussed in the context of aggressive error reporting.

15. Principles of Query Design - Discusses the goals of query design with particular attention paid to handling errors and tuning for performance.

16. Working with Numbers - Describes the four major numeric types, along with the operators and functions that act on numeric values. The operators include comparisons and arithmetic operations. The functions that operate on numeric values that are discussed include round and sum.

17. Working with Strings - Discusses constructing and comparing strings and provides an overview of the built-in functions that manipulate strings. It also explains related features such as whitespace handling and internationalization.

18. Regular Expressions - Probably already a familiar concept to the Unix-aware, this discusses the topic in context of the XQuery language.

19. Working with Dates, Times, and Durations - Explains the eleven date-related types used in XQuery and the functions and operators that act on them.

20. Working with Qualified Names, URIs, and IDs - Each of these types has unique properties and complexities that sets it apart from simple strings. Describes the functions and constructors that act on them.

21. Working with Other XML Components - Discusses comments, processing instructions, documents, and text nodes. CDATA sections and XML character and entity references are also covered in this chapter.

22. Additional XQuery-Related Standards - Discusses serialization, XQueryX, XQuery Updates, Full-Text search, and XQJ. These are peripheral standards that complement, but are not central to, the XQuery 1.0 language.

23. Implementation-Specific Features - Looks at some of the implementation-specific aspects of XQuery that provide customized functions and settings for specific use cases.

24. XQuery for SQL Users - Provides information for readers who are already using SQL and relational databases. It compares SQL and XQuery and also shows how to use them together.

25. XQuery for XSLT Users - The similarities and differences between XQuery and XSLT. This chapter also shows XSLT 1.0/XPath 1.0 users the differences and compatibility problems when moving to XQuery/XPath 2.0.

A. Built-in Function Reference
B. Built-in Types
C. Error Summary
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 6 people found the following review helpful:
5.0 out of 5 stars First Impressions, May 23, 2007
By Marshal Dillon (New Hampshire) - See all my reviews
My first impression of this book is that it is fantastic. Just flip through the first chapter and you'll see references to code snippets and valuable explanations of XQuery. This book is what I was seeking. The author knows the reader has an interest in the subject and does not waste time explaining what XML is and why one would want to query it etc. This book is not selling the technology. It teaches it which is a lesson the author of "Querying XML" could learn from.

I am very happy thus far with this book.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Most Recent Customer Reviews

5.0 out of 5 stars Solid book - 5 stars
Excellent reference - I don't do any BDB XML work without it. The website has a ton of useful XQuery functions too. Outstanding work!
Published 1 month ago by Lucas R. Vogel

3.0 out of 5 stars Great X-Query book but needs more information.
The problem of this book is it doesn't give detailed information on how to implement X-Query on your computer. When you have Windows Vista, eXist doesn't work. Read more
Published 16 months ago by Speedlearner

3.0 out of 5 stars decent and worth having... but nothing more
I did find this book extremely useful and have used it as my definitive reference for XQuery while working with real-world problems. Read more
Published 16 months ago by J. Brutto

4.0 out of 5 stars Good XQuery tutorial/reference
I needed to come up to speed with an XML database server (Mark Logic) and I found this book very useful for learning how to use XQuery. Read more
Published 17 months ago by Dan Arias

5.0 out of 5 stars Good Book for Database Professionals to Learn XQuery
This is a nice, comprehensive book written by someone highly qualified to talk about XQuery. The author, Priscilla Walmsley, was a member of the W3C XML Schema Working Group... Read more
Published 22 months ago by Data Guy

5.0 out of 5 stars A specific, valuable reference
XML programmers and database users will find Priscilla Walmsley's XQUERY a specific, valuable reference which is based on the Xquery 1. Read more
Published on July 7, 2007 by Midwest Book Review

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Light It Up

Shop for sconces

Add light and beauty to your home with sconces from the Lighting & Electrical Store. Shop our extensive selection of indoor and outdoor fixtures.

Shop all sconces

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Be Fire Safe

Shop for Smoke Alarms
A properly installed and maintained smoke alarm is the smartest, easiest, and most inexpensive way to protect your household from fire deaths and injuries.

Shop smoke alarms now

 

Get Off the Ground

Shop for miter saw stands
Lift your miter saw off the ground with a miter saw stand and increase in-feed and out-feed support for optimal performance.

Shop for miter saw stands

 
Ad

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates