XSLT processing involves the following basic steps:
-
Reading the XML source document and the associated XSLT style sheets.
-
Parsing XML files and then their associated XSLT files into trees of nodes. Each node corresponds to an XML document element or attribute.
-
Applying XSLT transformation to the source trees.
-
Producing result trees according to the specification of the XSLT style sheet.
-
Serializing the result trees as output files. The formats of the output files are XML, HTML, or other text formats.