====== xslt Plugin ====== ---- plugin ---- description: Allows you to display in DokuWiki the result of a XSL transformation author : RĂ©mi Peyronnet email : remi+dokuwiki@via.ecp.fr type : syntax lastupdate : 2016-02-07 compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo depends : conflicts : similar : tags : formatting, xml downloadurl: https://github.com/rpeyron/plugin-xslt/archive/master.zip bugtracker: https://github.com/rpeyron/plugin-xslt/issues sourcerepo: https://github.com/rpeyron/plugin-xslt ---- ===== Download and Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. Your DokuWiki installation must run on PHP5 or later and have **xsl module** installed. ===== Usage ===== To use XSLT transformation, you will need to use ''&&XML&&'', ''&&XSLT&&'' and ''&&END&&'' tags. Theses tags must have line separators before and after them. The XML file is located between ''&&XML&&'' and ''&&XSLT&&'', and the xslt to use is between ''&&XSLT&&'' and ''&&END&&''. Easy enough, no? &&XML&& Book 1 Book 2 &&XSLT&& List of books :
  • &&END&&
    This will display as: List of books : * Book 1 * Book 2