Processing Style Sheets
When you create an XSLT style sheet, you use its markup language to describe how your XML data will be transformed. After you’ve written your style sheet, it is linked either statically or dynamically to your XML document instance. When the XML parser loads your document, it creates a tree in memory that is a representation of the markup and data in your document. This tree is called the source tree.
After the tree has been created, the XSLT processor takes over and begins constructing a second tree that will contain the results of applying your transformations to the original source elements. This second tree is called the result tree.
So, when working with XSLT you will be walking the source tree, grabbing elements, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access