Summary

We’ve covered the basics of XPath. Hopefully, at this point you’re comfortable with the idea of writing XPath expressions to describe parts of an XML document. As we go through the following chapters, you’ll see XPath expressions used in a variety of ways, all of which build on the basics we’ve discussed here. You’ll probably spend most of your debugging time working on the XPath expressions in your stylesheets. Very few of the things we’ll do in the rest of the book are possible without precise XPath expressions.

Get XSLT now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.