docs-common/packaging bookinfo.xsl,1.4,1.5

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Fri Dec 30 06:11:30 UTC 2005


Author: pfrields

Update of /cvs/docs/docs-common/packaging
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10063/docs-common/packaging

Modified Files:
	bookinfo.xsl 
Log Message:
Properly process langified revision details


Index: bookinfo.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/bookinfo.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- bookinfo.xsl	29 Dec 2005 22:37:32 -0000	1.4
+++ bookinfo.xsl	30 Dec 2005 06:11:20 -0000	1.5
@@ -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>




More information about the Fedora-docs-commits mailing list