]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/contrib/xslt.mdwn
new version of the ikiwiki vim plugin. docs upgraded. new forum post
[ikiwiki.git] / doc / plugins / contrib / xslt.mdwn
index 406d42f4ecba9c394b06764dcf10655031b35b7b..80c956c58dfd4ee97411ceedbe27075c42436fe9 100644 (file)
@@ -1,3 +1,5 @@
+[[!template id=plugin name=xslt author="[[rubykat]]"]]
+[[!tag type/chrome]]
 ## NAME
 
 IkiWiki::Plugin::xslt - ikiwiki directive to process an XML file with XSLT
@@ -19,10 +21,10 @@ It is expected that the XSLT stylesheet will output valid HTML markup.
 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