]> sipb.mit.edu Git - ikiwiki.git/commitdiff
bug fix; now checks extensions.
authorhttp://kerravonsen.dreamwidth.org/ <http://kerravonsen.dreamwidth.org/@web>
Tue, 1 Dec 2009 23:51:10 +0000 (18:51 -0500)
committerJoey Hess <joey@kitenet.net>
Tue, 1 Dec 2009 23:51:10 +0000 (18:51 -0500)
doc/plugins/contrib/xslt.mdwn

index e26f58e3818fb320917e8348b76d289b86abac49..f98f8378d011238df3d2f53c0dd9f7427411139f 100644 (file)
@@ -20,10 +20,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