It's better when it's simple

User Tools

Site Tools


xslt Plugin

Compatible with DokuWiki

  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" yes

plugin Allows you to display in DokuWiki the result of a XSL transformation

Last updated on

Tagged with formatting, xml

Download and Installation

Search and install the plugin using the 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.


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?

<book>Book 1</book>
<book>Book 2</book>
<xsl:stylesheet version="1.0" xmlns:xsl="" xmlns="">
<xsl:template match="/">List of books : <ul><xsl:apply-templates /></ul></xsl:template>
<xsl:template match="book"><li><b><xsl:apply-templates /></b></li></xsl:template>

This will display as:

List of books :
  * Book 1
  * Book 2
plugin/xslt.txt · Last modified: 2019-01-13 18:52 by LarsDW223

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki