docs-common/packaging bookinfo.xsl,1.31,1.32

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Wed Apr 9 21:20:05 UTC 2008


Author: pfrields

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

Modified Files:
	bookinfo.xsl 
Log Message:
Allow for an extra chunk inside a bookinfo or articleinfo, using a
document called _extrainfo.xml



Index: bookinfo.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/bookinfo.xsl,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- bookinfo.xsl	24 Mar 2007 20:43:05 -0000	1.31
+++ bookinfo.xsl	9 Apr 2008 21:20:02 -0000	1.32
@@ -90,6 +90,13 @@
 		select="$lang"/>.xml</xsl:attribute></xsl:element>
 	</xsl:otherwise>
       </xsl:choose>
+      <!-- Allow for an extra chunk inside *info of the writer's choice -->
+      <xsl:element name="xi:include" 
+		   namespace="http://www.w3.org/2001/XInclude">
+	<xsl:attribute name="href">_extrainfo.xml</xsl:attribute>
+	<xsl:element name="xi:fallback"
+		     namespace="http://www.w3.org/2001/XInclude"/>
+      </xsl:element>
     </xsl:element>
   </xsl:template>
 




More information about the Fedora-docs-commits mailing list