XQuery
Priscilla Walmsley (pwalmsley@datypic.com)
ISBN: 1491915103
2nd 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" (FunctX) examples are available (with many others) at http://www.xqueryfunctions.com.
- Chapter 1: Introduction to XQuery
- Chapter 2: XQuery Foundations
- Chapter 3: Expressions: XQuery Building Blocks
- Chapter 4: Navigating XML by 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: Prologs, Modules and Variables
- Chapter 13: Inputs and Outputs
- Chapter 14: Using Schemas with XQuery
- Chapter 15: Static Typing
- Chapter 16: Writing Better Queries
- Chapter 17: Working with Numbers
- Chapter 18: Working with Strings
- Chapter 19: Regular Expressions
- Chapter 20: Working with Dates, Times, and Durations
- Chapter 21: Working with Qualified Names, URIs, and IDs
- Chapter 22: Working with Other XML Constructs
- Chapter 23: Function Items and Higher-Order Functions
- Chapter 24: Maps, Arrays, and JSON
- Chapter 25: Implementation-Specific Features
- Chapter 26: XQuery for SQL Users
- Chapter 27: XQuery for XSLT Users
- Chapter 28: Additional XQuery-Related Standards
- Appendix A: Built-in Function Reference
- Appendix B: Built-in Types
- Appendix C: Error Summary