Fundamentals of SVG Programming: Concepts to Source Code (Graphics Series)

   


What Is XPath?

XPath is the mechanism by which you select a node set that will be the focus of your attention in an XSL template. For example, if you want to list the names of the chapters of a book in an XML document, one conceivable scenario involves 'navigating' to a <chapters> element, creating a node set with the <chapter> child nodes of the <chapters> element, and then displaying the contents of the <title> node of each <chapter> node. (This appendix will show you how to extract such information from an XML document.)


   

Категории