summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2005-12-30 06:11:20 +0000
committerPaul W. Frields <stickster@gmail.com>2005-12-30 06:11:20 +0000
commit3271e240bd937f46f5d36a998ab7adc2e1a6557f (patch)
tree43eea48e122de61c4348005cbc85e6490ba8c935
parent9774b4f3f917230d6da506dd92f539c5b70d1386 (diff)
downloadfedora-doc-utils-3271e240bd937f46f5d36a998ab7adc2e1a6557f.tar.gz
fedora-doc-utils-3271e240bd937f46f5d36a998ab7adc2e1a6557f.tar.xz
fedora-doc-utils-3271e240bd937f46f5d36a998ab7adc2e1a6557f.zip
Properly process langified revision details
-rw-r--r--packaging/bookinfo.xsl8
1 files changed, 5 insertions, 3 deletions
diff --git a/packaging/bookinfo.xsl b/packaging/bookinfo.xsl
index 104c192..9b8781e 100644
--- a/packaging/bookinfo.xsl
+++ b/packaging/bookinfo.xsl
@@ -54,9 +54,11 @@
<xsl:value-of select="author/@initials"/>
</xsl:element>
<xsl:element name="revdescription">
- <xsl:element name="para">
- <xsl:value-of select="details"/>
- </xsl:element>
+ <xsl:for-each select="details[@lang = $lang]">
+ <xsl:element name="para">
+ <xsl:apply-templates/>
+ </xsl:element>
+ </xsl:for-each>
</xsl:element>
</xsl:element>
</xsl:for-each>