XQuery
Priscilla Walmsley (pwalmsley@datypic.com)
ISBN: 0596006349
1st edition, , O'Reilly Media, Inc.
Examples
You can download all the numbered examples from the book or view them on this site using the chapter links below. Please note that the book contains many inline examples and informal tables that are not provided here.
In addition, the "useful functions" examples are available (with many others) at http://www.datypic.com/xq.
- Chapter 1: Introduction to XQuery
- Chapter 2: XQuery foundations
- Chapter 3: Expressions: XQuery building blocks
- Chapter 4: Navigating input documents using paths
- Chapter 5: Adding elements and attributes to results
- Chapter 6: Selecting and joining using FLWORs
- Chapter 7: Sorting and grouping
- Chapter 8: Functions
- Chapter 9: Advanced queries
- Chapter 10: Namespaces and XQuery
- Chapter 11: A closer look at types
- Chapter 12: Queries, prologs and modules
- Chapter 13: Using schemas with XQuery
- Chapter 14: Static typing
- Chapter 15: Principles of query design
- Chapter 16: Working with numbers
- Chapter 17: Working with strings
- Chapter 18: Regular expressions
- Chapter 19: Working with dates, times and durations
- Chapter 20: Working with qualified names, URIs and IDs
- Chapter 21: Working with other XML components
- Chapter 22: Additional XQuery-related standards
- Chapter 23: Implementation-specific features
- Chapter 24: XQuery for SQL users
- Chapter 25: XQuery for XSLT users