By default, the XSLT template transforms the item called Component (if the Template Building Block is part of a Component Template) or Page (if part of a Page Template). You can override this default, however.
Procedure
- Open your XSLT template for editing.
- At the start of your template, add the following line:
<?XsltMediator inputItemName="MyItem"?>
where MyItem is the name of an item in the input package you want to transform.
- Alternatively, to transform an item whose name is the value of an XSLT parameter, add the following line instead:
<?XsltMediator inputItemName="{$myParam}"?>
where myParam is the name of a parameter specified in an xsl:param element.