XQuery: The XML Query Language
Editorial Reviews
Book Description
XQuery is a deep and powerful new language, yet it's easy to pick up and start using productively right away. Accordingly, this book is designed as both an introduction for new XQuery users and a reference for experienced ones. XQuery is the most complex XML standard to date, comprising well over a thousand pages of very dense and abstract implementation details. If you are creating an XQuery implementation yourself, you need to read them. Everyone else should read this book instead; it will save you a lot of time and confusion. This is the book I wanted when I first got started with XQuery, and am thrilled to have now. I had the good fortune to become involved with the XQuery standard more than two years ago, before it even had the name. I implemented the first Microsoft XQuery prototype available at MSDN (but not later ones), prototypes of XQuery over SQL Server, and my own XQuery implementation for this book. I've also given several dozen presentations on XQuery, and wrote a chapter about it for a previous book. Currently, I'm responsible for the cross-language XML query representation and optimizer at Microsoft. However, I've been primarily a user of XQuery rather than an implementer of it. All of this adds up to a unique perspective, which I've brought to bear in this book. I hope my experience with XQuery will benefit you greatly, whether you're using XQuery for the first time or the thousandth. Who Should Read This Book? This is a practical book, intended for every developer using XQuery regardless of your programming environment, whether you're a beginner or expert, or whether you're using XML for documents, Web services, databases, or other purposes. You must be familiar already with the basics of XML 1.0. You need to understand concepts such as namespaces and qualified names, the different XML node kinds (element, attribute, and so on), and the difference between tags and elements. This book doesn't review XML or APIs for using it (like SAX and DOM). However, you don't need to know XML Schema, XPath, XSLT, SQL, or any of the other technologies that are mentioned throughout this book. You can safely skip sections that compare XQuery to technologies you don't already know. Organization This book is organized into four major sections. Part I introduces XQuery. Chapter 1 briefly touches on the reasons to use XQuery and then gives an overview of the entire language, pointing to later chapters for additional details. Chapters 2 to 4 cover the background material required throughout the rest of the book, starting with the XQuery Data Model and type system. You may want to skim over parts of these chapters and refer back to them later. Part II drills into the details of XQuery expressions, from arithmetic to XML construction and everything in between. Part III goes beyond the standards, exploring XQuery expressions whose behavior may surprise you and how to use XQuery to accomplish certain common tasks. Chapter 14 looks at features that might appear in future versions of XQuery. Finally, Part IV is a comprehensive reference to the entire XQuery language, including appendices on the type system (Appendix A), core expressions (Appendix B), built-in functions (Appendix C), regular expressions (Appendix D), and grammar (Appendix E). These appendices are heavily cross-referenced among one another and the other chapters in the book for your convenience. Resources This book isn't tied to any particular implementation of XQuery, and I endeavored to test the examples on several different ones. XML/Query, the public Web site of the W3C XML Query Working Group, you'll find a list of many freely and commercially available XQuery implementations. At this book's Web site, [a href="http://www.qbrundage.com/xquery">http://www.qbrundage.com/xquery, you will find updates and errata to the book as they become available. Additional resources can be found in the Bibliography at the end of this book. I also encourage you to e-mail your questions and comments to me directly at xquery@comcast.net. Although I am employed by Microsoft, this book is completely unrelated to Microsoft and its products. Except where noted previously, I played no role in any of Microsoft's XQuery implementations. Or, as the lawyers put it, this book is an independent publication and is not affiliated with, nor has it been authorized, sponsored, or otherwise approved by Microsoft Corporation. 0321165810P04192004
From the Back Cover
“An excellent, early look at the emerging XML Query standard. The chapters on surprises and gotchas alone are worth the price of admission!”
         —Ashok Malhotra, Architect, Microsoft“XQuery is the most important XML standard to emerge in recent years, and is a language with which anyone using XML on a regular basis should become acquainted. Michael Brundage's accessible introduction to XQuery provides enough information on all aspects of the standard, including its dark corners, to allow any XML developer to jump right in and start coding.”
         —Damien Fisher, Kernel Team Member, Soda Technologies Pty Ltd“This book does an excellent job of distilling the essentials of XQuery in an understandable, straightforward and easily digestable manner. This book has already become an indispensible part of my library and is a welcome addition to my XML repertoire.”
         —Dare Obasanjo, Program Manager, Microsoft Corporation“Simply put, the emerging XQuery standard adds enormous value to XML data and this book is your key to unlocking that value. Here in one stop you will find an accessible introduction to XQuery and a complete reference. Practitioners will particularly value the sections on XQuery idioms and surprises where Michael shares his tricks of the trade.”
         —Dave Van Buren, Project Manager, Jet Propulsion Laboratory“It’s both a stupendous reference on XQuery and a good read. Michael writes with verve, authority, and an eminently readable style. What a rare delight to discover all this, and in a technical book too! When the sequel comes along, sign me up.”
         —Howard Katz, Owner, Fatdog Software Inc., Editor, XQuery from the Experts (Addison-Wesley, 2003)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:
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.
XQuery: The XML Query Language,Michael Brundage,Addison-Wesley Professional,0321165810,Computer Bks - Languages / Programming,Computer Books: General,Computers,Electronic Commerce,Programming Languages - HTML,Programming Languages - XML,Query languages (Computer scie,Query languages (Computer science),Computers / Programming Languages / XML
Hot Books:
Recommended Books