summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2008-04-09 21:20:02 +0000
committerPaul W. Frields <stickster@gmail.com>2008-04-09 21:20:02 +0000
commitd28fae7ef426738fad380ab471d6a435997b02f7 (patch)
tree4422ee6149ee32f0cd4aa6a8232dfe8c21a35dcd
parentb09b02f6f9be6b28dac1f2d5d6f21be6f8008d80 (diff)
downloadfedora-doc-utils-d28fae7ef426738fad380ab471d6a435997b02f7.tar.gz
fedora-doc-utils-d28fae7ef426738fad380ab471d6a435997b02f7.tar.xz
fedora-doc-utils-d28fae7ef426738fad380ab471d6a435997b02f7.zip
Allow for an extra chunk inside a bookinfo or articleinfo, using a
document called _extrainfo.xml
-rw-r--r--packaging/bookinfo.xsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/bookinfo.xsl b/packaging/bookinfo.xsl
index ea4a302..f18c199 100644
--- a/packaging/bookinfo.xsl
+++ b/packaging/bookinfo.xsl
@@ -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>