| help | account  


XQuery: The XML Query Language
View Larger Image
Michael Brundage
Addison-Wesley, Paperback, Published February 2004, 505 pages, ISBN 0321165810
List Price: $59.99
Our Price: $37.95
You Save: $22.04 (37% Off)


FREE Shipping on Orders over $40!*
Availability: Out-Of-Stock

Be the First to Write a Review and tell the world about this title!

People who purchase this book frequently purchase:

Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:

From corporate IT departments to academic institutions, XML has become the language of choice for storing and transmitting data across diverse application domains. XQuery, an XML Query Language invented by the World Wide Web Consortium, offers a powerful, standardized way to query all of that XML-encapsulated information. With its ability to integrate XML and non-XML data, XQuery seems poised to do for XML what SQL has done for relational data.

Written by the Technical Lead for XML query processing at Microsoft, XQuery: The XML Query Language is an invaluable resource for XQuery novices and experts alike. For those new to XQuery, this example-rich text serves as a tutorial that brings readers quickly up to speed on XQuery's data model, type system, and core language features. More experienced XML and database developers will find an excellent reference on the nuances of various expressions, as well as a guide to using XQuery to accomplish specific tasks.

Drawing on his experiences using XQuery, Michael Brundage offers an objective, inside look at this emerging technology. His unique perspective translates into an accessible and authoritative guide for readers using XML for documents, Web services, or databases.

Key coverage includes:

  • Data model and type system
  • Path navigation
  • Iteration, construction, arithmetic, text processing, type operators and user-defined functions
  • Information beyond the standard—such as a look at update languages, performance benchmarks, query optimization, XQuery style, and much, much more
  • Hundreds of examples
  • The future of XQuery
  • The appendixes provide in-depth information on XQuery's type system, core expressions, built-in functions, regular expressions, and grammar. Meanwhile, the companion Web site offers downloadable source code for all of the examples in the book, the latest on the XQuery standard, answers to readers' questions, XQuery tips and strategies, and more.

    XQuery will show developers, programmers, and database administrators how a single line of this deep and powerful new language can accomplish the equivalent of hundreds of lines written in C, C#, Java, and other general-purpose programming languages.

     

    Table of Contents

    Preface.

    I. FOUNDATIONS.

    1. A Tour of XQuery.

    Introduction.

    Getting Started.

    Notational Conventions.

    Why XQuery?

    Documents and Databases.

    Typed and Untyped Data.

    A Sample Query.

    Processing Model.

    Comments and Whitespace.

    Prolog.

    Constants.

    XML.

    Built-in Functions.

    Operators.

    Paths.

    Variables.

    FLWOR.

    Error Handling.

    Conclusion.

    Further Reading.

    2. Data Model and Type System.

    Introduction.

    An Overview of XML Data Models.

    Structure of the XQuery Data Model.

    Atomic Types.

    Node Kinds.

    Common Type Conversions.

    Conclusion.

    Further Reading.

    3. Navigation.

    Introduction.

    Paths.

    Navigation Functions.

    Navigation Context.

    Navigation Examples.

    Navigation Complexities.

    Conclusion.

    Further Reading.

    4. Functions and Modules.

    Introduction.

    Built-in Function Library.

    Function invocation.

    User-defined Functions.

    Recursion.

    External Functions.

    Modules.

    Conclusion.

    II. CORE LANGUAGE FEATURES.

    5. Basic Expressions.

    Introduction.

    Comparisons.

    Sequences.

    Arithmetic.

    Logic.

    Query Prolog.

    Conclusion.

    Further Reading.

    6. Iteration.

    Introduction.

    FLWOR.

    Quantification.

    Joins.

    Comparing Sequences.

    Sorting.

    Grouping.

    Conclusion.

    Further Reading.

    7. Construction.

    Introduction.

    Element Nodes.

    Attribute Nodes.

    Text Nodes.

    Document Nodes.

    Comment Nodes.

    Processing Instruction Nodes.

    Namespace Nodes.

    Composition.

    Validation.

    Element and Attribute Content.

    Conclusion.

    Further Reading.

    8. Text Processing.

    Introduction.

    The XML Character Model.

    Character Encodings.

    Collations.

    Text Operators.

    Text Functions.

    Conclusion.

    Further Reading.

    9. Type Operators.

    Introduction.

    Cast and Castable.

    Type Conversion Rules.

    Treat As.

    Instance Of and Typeswitch.

    User-defined types.

    Conclusion.

    Further Reading.

    III. APPLICATION.

    10. Practical Examples.

    Introduction.

    Style.

    Idioms.

    Conclusion.

    Further Reading.

    11. Surprises.

    Introduction.

    Confusion Over Meaning.

    Confusion Over Syntax.

    Conclusion.

    12. XQuery Serialization.

    Introduction.

    Data Model Serialization.

    Query Serialization.

    Conclusion.

    13. Query Optimization.

    Introduction.

    Common Query Optimizations.

    Barriers to Optimization.

    Formal Semantics.

    Conclusion.

    Further Reading.

    14. Beyond the Standard.

    Introduction.

    Potential Changes.

    Standards Roadmap.

    Xquery 1.1.

    Data Manipulation (DML).

    Full-text Search 313.

    Performance Benchmarks.

    Conclusion.

    Further Reading.

    IV. REFERENCE.

    Appendix A: Data Model and Type System Reference.

    Summary.

    Node Kinds.

    Atomic Types.

    Primitive Type Conversions.

    Built-in Atomic Types.

    Appendix B: Expression Reference.

    Appendix C: Function Reference.

    Appendix D: Regular Expression Reference.

    Overview.

    Advanced Regexps.

    Regexp Language.

    Character Properties.

    Appendix E: Grammar.

    XQuery Grammar.

    Reserved Keywords.

    Operator Precedence.

    Bibliography.

    Further Reading.

    Index.

     

    About the Author

    Michael Brundage, the Technical Lead for XML query processing at Microsoft, designed the architecture for Microsoft's .NET Common Query Runtime and implemented the XML query optimizer for XPath, XSLT, and XQuery. He also implemented XPath over XML Views in SQL Server 2000, and has several patents and publications on XML query processing. Previously, he was a Senior Software Engineer at Caltech and NASA's Interferometry Science Center, where he worked on projects such as AstroVR and the search for extrasolar planets.

     




    Forgot your password?
    FAQs
    Shipping Options
    Returns
    Your Orders
    Your Account