The XSLT processor parses the XSLT document.
The XSLT processor starts parsing the source XML document.
It processes every node in the XML source document one by one.
For every node it processes...
The processor checks whether the current node matches a XSLT rule (template)
If it matches a XSLT template, it uses this template to process the node.