XQuery
by Priscilla Walmsley
XML Schema
by Eric van der Vlist
XSLT Cookbook, 2nd Edition
by Sal Mangano
RESTful Web Services
by Leonard Richardson; Sam Ruby
XML: Visual QuickStart Guide, Second Edition
by Kevin Howard Goldberg
HTML & XHTML: The Definitive Guide, 6th Edition
by Chuck Musciano; Bill Kennedy
XML in a Nutshell, 3rd Edition
by Elliotte Rusty Harold; W. Scott Means
Perl and XML
by Erik T. Ray; Jason McIntosh
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.
Average Amazon.com® Rating: ![]()
![]()
![]()
![]()
Based on 7 Ratings
The complexity of the book hides the simplicity of XPath - 2003-06-06
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
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.
Falls short in comparison with XSLT related books - 2003-02-03
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
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.
easy to understand, written with humour reference manual - 2003-02-04
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
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.
Focused and to the point - 2002-10-26
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
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
Fine reference but covered in other books - 2003-12-13
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
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.
Top Level Categories:
Internet/Online
Markup Languages
Sub-Categories:
Internet/Online > XML
Markup Languages > Xpath
Markup Languages > Xpointer
Some information on this page was provided using data from Amazon.com®. View at Amazon >