XPath and XPointer: Locating Content in XML Documents and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
Sell Back Your Copy
For a $0.77 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Xpath and Xpointer: Locating Content in XML Documents
 
 
Start reading XPath and XPointer: Locating Content in XML Documents on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Xpath and Xpointer: Locating Content in XML Documents [Paperback]

John Simpson (Author)
3.7 out of 5 stars  See all reviews (7 customer reviews)

List Price: $34.99
Price: $29.94 & this item ships for FREE with Super Saver Shipping. Details
You Save: $5.05 (14%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $14.35  
Paperback $29.94  
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

0596002912 978-0596002916 August 7, 2002 1

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.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Xpath and Xpointer: Locating Content in XML Documents + XQuery + XSLT Cookbook: Solutions and Examples for XML and XSLT Developers, 2nd Edition
Price For All Three: $96.07

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • XQuery $31.49

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • XSLT Cookbook: Solutions and Examples for XML and XSLT Developers, 2nd Edition $34.64

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

John E. Simpson's forte is taking obscure bits of technical information and making them accessible. He is the author of Just XML, now in its second edition, and Just XSL (Prentice Hall), as well as XML.com's monthly XML Q&A column. John has been working with XML, XSL, and XPath since the technologies first emerged.

Product Details

  • Paperback: 208 pages
  • Publisher: O'Reilly Media; 1 edition (August 7, 2002)
  • Language: English
  • ISBN-10: 0596002912
  • ISBN-13: 978-0596002916
  • Product Dimensions: 9.2 x 6.9 x 0.6 inches
  • Shipping Weight: 12.6 ounces (View shipping rates and policies)
  • Average Customer Review: 3.7 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon Best Sellers Rank: #351,653 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

7 Reviews
5 star:
 (2)
4 star:
 (2)
3 star:
 (2)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.7 out of 5 stars (7 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

12 of 13 people found the following review helpful:
2.0 out of 5 stars The complexity of the book hides the simplicity of XPath, June 6, 2003
By 
This review is from: Xpath and Xpointer: Locating Content in XML Documents (Paperback)
O'Reilly books are usually a good choice for a professional to learn a concept in an effective way. However, this book is an exception. If you think XPath looks difficult, it is just because this book makes it _seem_ difficult. Read the official W3C specifikation instead and you will see how simple XPath really is.

The book incorporates a lot of discussions about XPath but they really get in the way of XPath, beeing presented the way they are. It would have been more effective if the book explained XPath just by including the 30 pages of XPath specification, and instead focused not on explaing, but on discussing aspects.

My main point is that you learn to use, as well as master, XPath an order of magnitude faster by reading the specification than by reading this book.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 15 people found the following review helpful:
3.0 out of 5 stars Falls short in comparison with XSLT related books, February 2, 2003
By 
This review is from: Xpath and Xpointer: Locating Content in XML Documents (Paperback)
From the back page of this book: "XPath and XPointer focuses directly on a critical topic that has been covered only briefly in other books". That is true as far as it goes for XPointer;however there are quite a number of XSLT books that explain XPath. That makes sense, because XPath is mainly used in the context of XSLT. (The other context is XPointer, but that is not official W3C recommendation yet, and will be much more limited in use.) That means that a book that deals almost exclusively with XPath should give a better and fuller treatment of XPath than most of the XSLT related books in order to have added value.

Quite frankly, I do not think that this book fulfills that promise. Chapter 2 "XPath Basics" fails to explain the theory behind XPath in a comprehensive manner, and is a tough read. What I am missing here is a clear explanation of how XPath relates to the DOM Model and XSLT processing model. Chapter 3 and 4 give a pretty decent explanation of how XPath expressions and functions work. The description is not complete however, I missed for instance an explanation of the key() function and element-available() function. What I also miss are the production rules of XPath. A more formal approach, with assistance of the official W3C recommendation, would have given a much completer explanation of XPath. Why was't the official W3C recommendation included via an appendix? Chapter 5 "XML in Action" is solely dedicated to examples. Very useful and clear. Chapter 6 "XPath 2.0" talks about how future XPath specifications are developing. Which is interesting of course, but by it's very nature speculative.

Chapter 7 thru 9 try to explain XPointer. These chapters fail completely for a number of reasons:
a) XPointer is not an official recommendation yet, so the authors are shooting at a moving target
b) XPointer will mainly be used together with XLink, which is not explained in this book
c) I found the explanation incomprehensible.

My advice would be to skip this book and buy a good XSLT book that also covers XPath instead, such as the XSLT Programmer's Reference from Michael Kay.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 6 people found the following review helpful:
5.0 out of 5 stars Focused and to the point, October 26, 2002
By 
Foti Massimo (Vezia (Switzerland)) - See all my reviews
(REAL NAME)   
This review is from: Xpath and Xpointer: Locating Content in XML Documents (Paperback)
XPath is a crucial but often neglected technology for any developer that need to deal with XSLT in a serious way and it's also fully integrated in many XML parsers, like the ones from Microsoft or ColdFusion. This is a small and very focused book that manages to offer a detailed coverage of XPath mixed with some excellent practical advices. Personally I am not interested in XPointer right now, so I totally skipped the second part of the book, but I think the 120 pages dedicated to XPath are well worth the money
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews





Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
compound location path, plural body parts, final location step, reverse document order, shorthand pointers, location path selects, external parsed entity, namespace nodes, xml source document, context node, pointer part, container node, numeric operators, custom schemes, locating content, text nodes, preceding node, child sequence, location steps, namespace prefix, node test, employee elements, template rule
Key Phrases - Capitalized Phrases (CAPs): (learn more)
The Twins, The Sea-Goat, Path Function Types, Specific Requirements, Working Draft, Working Group, James Clark, Scheme-Based Pointer Syntax, Firesign Theatre, Super Nintendo, Internet Explorer, Reverse Root, Forward Any, The Penguin
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:


What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject