The XML File book.xml

   



The Path to an Element

Every element in an XML document is determined by a unique path. For example, if you want to find the author element in the file book.xml, the complete path is /book/author. A match in an XSL template occurs when the condition specified in the match portion identifies a node, or when the concatenation of the match portion with a sub-path within the given template yield a full path that identifies a node. This point is illustrated in the following XSL stylesheet, which displays the name and author of the book in the file book.xml.



   



Fundamentals of SVG Programming. Concepts to Source Code
Fundamentals of SVG Programming: Concepts to Source Code (Graphics Series)
ISBN: 1584502983
EAN: 2147483647
Year: 2003
Pages: 362

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net