diff options
Diffstat (limited to '')
-rw-r--r-- | lib/fence2wiki.xsl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/fence2wiki.xsl b/lib/fence2wiki.xsl new file mode 100644 index 0000000..8112169 --- /dev/null +++ b/lib/fence2wiki.xsl @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet version='1.0' xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + +<xsl:template match="/resource-agent"> +[=#<xsl:value-of select="@name" />] +||='''<xsl:value-of select="@shortdesc" />''' =||='''<xsl:value-of select="@name" />''' =|| +|| '''Name Of The Argument For STDIN''' || '''Name Of The Argument For Command-Line''' || '''Default Value''' ||'''Description''' || +<xsl:apply-templates select="parameters/parameter" /> +</xsl:template> + +<xsl:template match="parameters/parameter">|| <xsl:value-of select="@name" /> || <xsl:value-of select="getopt/@mixed" /> || {{{<xsl:value-of select="content/@default" disable-output-escaping="yes"/>}}} || <xsl:value-of select="shortdesc" /> || +</xsl:template> + +</xsl:stylesheet>
\ No newline at end of file |