Wattle Software - producers of XMLwriter XML editor
 Bookstore Home | XMLwriter Home | Search | Site Map 
XML Related
 General XML
 XSLT & Stylesheets
 XHTML
 SGML
 XML DTDs
 XML Schema
Web Development
 Web Graphics
 HTML
 Dynamic HTML
Web Services
 General Web Services
 UDDI
 SOAP
 WSDL
 Programming/Scripting 
 PHP Programming
 Perl Programming
 Active Server Pages
 Java Server Pages
 JavaScript
 VBScript
 .NET Programming
 
XMLwriter
 About XMLwriter
 Download XMLwriter
 Buy XMLwriter
XML Resources
 XML Links
 XML Training
 The XML Guide
 XML Book Samples
 

XPath and XPointer


By John E. Simpson
 
Image of: XPath and XPointer
Pricing Details:

List Price:$34.99
You save:$8.00 (22.9%)
Your Price:$26.99
Buy Now

Book Details:

Format:Paperback, 224 pages.
Publisher:O'Reilly Media, Inc. 2002-07-31
ISBN:0596002912

Average Customer Rating:

3.5 3.5 out of 5 stars (7 reviews)

Editorial Reviews:

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. 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. 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.


Customer Reviews:

Displaying 1 to 5 of 7 total reviews (Page 1 of 2):

3 out of 5 stars Fine reference but covered in other books

This is a relatively short book on XPath and, as one of the other reviews points out, it tends to complicate what is generally a fairly simple standard. The XPath portion of the XSLT : Programmer's Reference from Michael Kay is more succinct covers the important parts in enough detail to get the job done.

2 out of 5 stars The complexity of the book hides the simplicity of XPath

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.

4 out of 5 stars easy to understand, written with humour reference manual

John E. Simpson has done a remarkable job in elucidating yet another XML-related techology in fun and easy small book. Care is taken to provide comprehensive examples (sometimes with hacker-type tougue-in-cheek approach) which illustrates the points of syntax. One does not need to read the book in comprehensive fashion, after a few chapters, you one can just start coding and refer to the rest as a reference manual.

One thing, however is missing, the book does you why you should use XPath or XPointer. What are the real world examples and applications? And what about XQuery? How is XPath related to XSLT? Those points are left for the reader to ponder about, and this is the only reason I am not giving the book 5 starts.

3 out of 5 stars Falls short in comparison with XSLT related books

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.

5 out of 5 stars Focused and to the point

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

More Customer Reviews:
Next Page


Customers who bought this book were also interested in:


XML Schema


XSLT Cookbook, Second Edition (Cookbooks (O'Reilly))


XQuery


Xslt


Learning XSLT

 

Find similar books by category...


Search for more:

Search books:  



Google
 
Web XMLwriter.net




Last updated: Wed Jan 7 23:06:36 CST 2009
© Wattle Software 2007. All rights reserved.