XPath and XPointer: Locating Content in XML Documents

XPath and XPointer: Locating Content in XML Documents

by John Simpson, Simpson
XPath and XPointer: Locating Content in XML Documents

XPath and XPointer: Locating Content in XML Documents

by John Simpson, Simpson

Paperback(First Edition)

$34.99 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


Overview

Referring to specific information inside an XML document is a little like finding a needle in a haystack: how do you differentiate the information you need from everything else? XPath and XPointer are two closely related languages that play a key role in XML processing by allowing developers to find these needles and manipulate embedded information. XPath describes a route for finding specific items by defining a path through the hierarchy of an XML document, abstracting only the information that's relevant for identifying the data. XPointer extends XPath to identify more complex parts of documents. The two technologies are critical for developers seeking needles in haystacks in various types of processing. XPath and XPointer fills an essential need for XML developers by focusing directly on a critical topic that has been covered only briefly. Written by John Simpson, an author with considerable XML experience, the book offers practical knowledge of the two languages that underpin XML, XSLT and XLink. XPath and XPointer cuts through basic theory and provides real-world examples that you can use right away. Written for XML and XSLT developers and anyone else who needs to address information in XML documents, the book assumes a working knowledge of XML and XSLT. It begins with an introduction to XPath basics. You'll learn about location steps and paths, XPath functions and numeric operators. Once you've covered XPath in depth, you'll move on to XPointer—its background, syntax, and forms of addressing. By the time you've finished the book, you'll know how to construct a full XPointer (one that uses an XPath location path to address document content) and completely understand both the XPath and XPointer features it uses. XPath and XPointer contains material on the forthcoming XPath 2.0 spec and EXSLT extensions, as well as versions 1.0 of both XPath and XPointer. A succinct but thorough hands-on guide, no other book on the market provides comprehensive information on these two key XML technologies in one place.

Product Details

ISBN-13: 9780596002916
Publisher: O'Reilly Media, Incorporated
Publication date: 08/25/2002
Edition description: First Edition
Pages: 208
Sales rank: 317,581
Product dimensions: 7.00(w) x 9.19(h) x 0.56(d)

About the Author

JOHN E. SIMPSON is a Distributed Systems Specialist with the City of Tallahassee, Florida, developing database and Web applications for the Public Works Department. He is the author of "Just XML," Second Edition (Prentice Hall PTR) and contributes the monthly "XML Q& A" column to XML.com, the Web's premier XML information site. Simpson has taught the popular "XML from the Ground Up" seminar on Geek Cruises to Alaska and the Caribbean. He recently assisted Microsoft in documenting the features and use of its standards-compliant XML and XSLT processor, MSXML.

Table of Contents

Preface; Who Should Read This Book?; Who Should Not Read This Book?; Organization of the Book; Conventions Used in This Book; Comments and Questions; Acknowledgments; Chapter 1: Introducing XPath and XPointer; 1.1 Why XPath and XPointer?; 1.2 Antecedents/History; 1.3 XPath, XPointer, and Other XML-Related Specs; 1.4 XPath and XPointer Versus XQuery; Chapter 2: XPath Basics; 2.1 The Node Tree: An Introduction; 2.2 XPath Expressions; 2.3 XPath Data Types; 2.4 Nodes and Node-Sets; 2.5 Node-Set Context; 2.6 String-Values; Chapter 3: Location Steps and Paths; 3.1 XPath Expressions; 3.2 Location Paths; 3.3 Location Steps; 3.4 Compound Location Paths Revisited; Chapter 4: XPath Functions and Numeric Operators; 4.1 Introduction to Functions; 4.2 XPath Function Types; 4.3 XPath Numeric Operators; Chapter 5: XPath in Action; 5.1 XPath Visualiser: Some Background; 5.2 Sample XML Document; 5.3 General to Specific, Common to Far-Out; Chapter 6: XPath 2.0; 6.1 General Goals; 6.2 Specific Requirements; Chapter 7: XPointer Background; 7.1 XPointer and Media types; 7.2 Some Definitions; 7.3 The Framework; 7.4 Error Types; 7.5 Encoding and Escaping Characters in XPointer; Chapter 8: XPointer Syntax; 8.1 Shorthand Pointers; 8.2 Scheme-Based XPointer Syntax; 8.3 Using XPointers in a URI; Chapter 9: XPointer Beyond XPath; 9.1 Why Extend XPath?; 9.2 Points and Ranges; 9.3 XPointer Extensions to Document Order; 9.4 XPointer Functions; Appendix A: Extension Functions for XPath in XSLT; A.1 Additional Functions in XSLT 1.0; A.2 EXSLT Extensions; Colophon;
From the B&N Reads Blog

Customer Reviews