summaryrefslogtreecommitdiff
path: root/plugins.xsl
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-05-12 11:57:07 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-05-12 11:57:07 +0000
commit2d9c09df0fe4ad3f570fea9f649cfc6c4511080d (patch)
tree80ec6252fea1ccf0f87f91db7c9f2b2c32b4b7f9 /plugins.xsl
parentdbf8f3aeceb6e57de097951a670cd853b4886ad8 (diff)
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 ";".
Diffstat (limited to 'plugins.xsl')
-rw-r--r--plugins.xsl19
1 files changed, 12 insertions, 7 deletions
diff --git a/plugins.xsl b/plugins.xsl
index 150087f..ad52768 100644
--- a/plugins.xsl
+++ b/plugins.xsl
@@ -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 -->