Understanding How ePublisher Works : Understanding Stationery, Projects, and Overrides : XSL Match Templates
 
XSL Match Templates
 
Root Match Templates
Root Match Templates in ePublisher
Style sheets are made of a number of templates, each of which defines what the XSLT processor should do when it matches a particular node in the XML source document. The XSLT processor populates the result document by instantiating a sequence of templates. Instantiation of a template means that the XSLT processor performs the following tasks:
*Copies any literal data from the template to the target
*Executes the XSLT instructions in the template
Templates are defined using the <xsl: template> element. The match attribute in the <xsl:template> element indicates which parts of the source document should be processed with the particular template.