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

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Mon Jan 2 21:13:59 UTC 2006


Author: pfrields

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

Modified Files:
	bookinfo.xsl 
Log Message:
Make sure bookinfo catches every copyright element, since multiples are valid


Index: bookinfo.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/bookinfo.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- bookinfo.xsl	30 Dec 2005 06:11:20 -0000	1.5
+++ bookinfo.xsl	2 Jan 2006 21:13:51 -0000	1.6
@@ -12,16 +12,18 @@
       <xsl:element name="title">
 	<xsl:call-template name="get-title"/>
       </xsl:element>
-      <xsl:element name="copyright">
-	<xsl:for-each select="/rpm-info/copyright/year"><xsl:element name="year">
-	    <xsl:value-of select="node()"/>
-	  </xsl:element></xsl:for-each>
-	<xsl:for-each select="/rpm-info/copyright/holder">
-	  <xsl:element name="holder">
-	    <xsl:value-of select="node()"/>
-	  </xsl:element>
-	</xsl:for-each>
-      </xsl:element>
+      <xsl:for-each select="/rpm-info/copyright">
+	<xsl:element name="copyright">
+	  <xsl:for-each select="/rpm-info/copyright/year"><xsl:element name="year">
+	      <xsl:value-of select="node()"/>
+	    </xsl:element></xsl:for-each>
+	  <xsl:for-each select="/rpm-info/copyright/holder">
+	    <xsl:element name="holder">
+	      <xsl:value-of select="node()"/>
+	    </xsl:element>
+	  </xsl:for-each>
+	</xsl:element>
+      </xsl:for-each>
       <xsl:element name="authorgroup">
 	<xsl:for-each select="/rpm-info/author">
 	  <xsl:element name="author">




More information about the Fedora-docs-commits mailing list