Commit 2d9c09df authored by Stefan Kost's avatar Stefan Kost

plugins.xsl: Improve the layput of the caps, but splitting them on ";".

Original commit message from CVS:
* plugins.xsl:
Improve the layput of the caps, but splitting them on ";".
parent dbf8f3ae
2008-05-12 Stefan Kost <ensonic@users.sf.net>
* plugins.xsl:
Improve the layput of the caps, but splitting them on ";".
2008-05-09 Sebastian Dröge <slomo@circular-chaos.org>
Patch by: Brian Cameron <brian dot cameron at sun dot com>
......
......@@ -3,7 +3,8 @@
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl"
xmlns:str="http://exslt.org/strings"
extension-element-prefixes="exsl str"
version="1.0">
<xsl:output method="xml" indent="yes"
doctype-public ="-//OASIS//DTD DocBook XML V4.1.2//EN"
......@@ -54,7 +55,7 @@
<xsl:element name="varlistentry">
<xsl:element name="term">class</xsl:element>
<xsl:element name="listitem">
<xsl:element name="simpara"><xsl:value-of select="class" /></xsl:element>
<xsl:element name="simpara"><xsl:value-of select="details" /></xsl:element>
</xsl:element>
</xsl:element>
......@@ -85,12 +86,16 @@
</xsl:element>
</xsl:element>
<xsl:element name="varlistentry">
<xsl:element name="term">details</xsl:element>
<xsl:element name="listitem">
<xsl:element name="simpara"><xsl:value-of select="details" /></xsl:element>
<xsl:for-each select='str:tokenize(details, ";")'>
<xsl:element name="varlistentry">
<xsl:element name="term">
<xsl:if test="position()=1">details</xsl:if>
</xsl:element>
<xsl:element name="listitem">
<xsl:element name="simpara"><xsl:value-of select='.'/></xsl:element>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:for-each>
</xsl:element> <!-- variablelist -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment