Updates
Latest Tweet
What's New?
Check out for latest innovation, a computer based training video collection
Like this Page
XSLT and XPATH: A Guide to XML Transformations Review by Joe
Examples are laden with errors
I suppose this book might be helpful as a reference, but to someone who is actually trying to figure out what to do with xslt and xpath, this book is a very poor primer. I found that, in addition to offering little explanation as to how xpath and xslt are needed in a larger context (is this supposed to supplant sql??, for example), the examples are so error-prone that I learned more by correcting the errors than I did reading the book. Here is a list of errors you will encounter (from the CD) for the first 3 chapters:
1.1 (string not quoted)
1.2 (only 1 top-level element allowed).
2.1 (invalid character)
2.4 (cannot locate resource)
2.5 (template.xml undeclared namespace)
2.7 (cannot locate resource)
3.2 (output.xml invalid at the top level)
3.3 ditto
3.4 worked -- hey, a working example!
3.5 (output.xml invalid at the top level)
3.6 misplaced period
3.7 invalid at top level
3.8 only 1 top level element allowed
3.9 invalid at the top level...The rest of the chapter examples are similar to this one.
Without good examples, a programming book is almost worthless.