+[[!template id=plugin name=xslt author="[[rubykat]]"]]
+[[!tag type/chrome]]
## NAME
IkiWiki::Plugin::xslt - ikiwiki directive to process an XML file with XSLT
There are two arguments to this directive.
* **file:**
- The file which contains XML data to be processed. This file is searched for using the usual IkiWiki mechanism, thus finding the file first in the same directory as the page, then in the directory above, and so on.
+ The file which contains XML data to be processed. This file *must* have a `.xml` extension (`filename.xml`). This file is searched for using the usual IkiWiki mechanism, thus finding the file first in the same directory as the page, then in the directory above, and so on.
* **stylesheet:**
- The file which contains XSLT stylesheet to apply to the XML data. This file is searched for using the usual IkiWiki mechanism, thus finding the file first in the same directory as the page, then in the directory above, and so on.
+ The file which contains XSLT stylesheet to apply to the XML data. This file *must* have a `.xsl` extension (`filename.xsl`). This file is searched for using the usual IkiWiki mechanism, thus finding the file first in the same directory as the page, then in the directory above, and so on.
## PREREQUISITES