XPath—XML Path Language
To be able to do anything useful with XSLT, as well as knowing a little about XML namespaces, you need to understand at least the basics of the XML Path Language, which is usually called XPath.
If you look at XSLT as the way to describe how the XSLT processor is to alter a node in the source XSLT tree during processing and XPath as the way to tell the XSLT processor which node or nodes that transformation is to be applied to, you have begun to grasp how XSLT and XPath work together.
How Does XPath Work?
The first time you come across XPath it can seem pretty intimidating. There is certainly quite a bit of jargon associated with it and XPath expressions, after you get beyond basic ones, can be pretty complex. But the ...
Get XHTML by Example 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.