Whats XPath got to do with XSLT?
XSLT uses Xpath path expressions to filter through a node-tree. An XSLT style sheet contains “template rules” that define which parts of a document’s content should be selected and how they should be processed to create the desired result. There are two parts to a template rule: a pattern and a template.