summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2006-07-09 20:43:22 +0000
committerPaul W. Frields <stickster@gmail.com>2006-07-09 20:43:22 +0000
commit02daf854332c3f3b78625224ce19ba65bf493ee7 (patch)
tree4d233f607e04039e3e15a516b2fe6c8cca4f1089
parente4e88c6ab0ae6438c1dc4c9752d18606f2b0a279 (diff)
downloadfedora-doc-utils-02daf854332c3f3b78625224ce19ba65bf493ee7.tar.gz
fedora-doc-utils-02daf854332c3f3b78625224ce19ba65bf493ee7.tar.xz
fedora-doc-utils-02daf854332c3f3b78625224ce19ba65bf493ee7.zip
The circle is now complete. Once revhistory was but a bare @id; now it is a chunk.
-rw-r--r--packaging/bookinfo.xsl8
1 files changed, 7 insertions, 1 deletions
diff --git a/packaging/bookinfo.xsl b/packaging/bookinfo.xsl
index eb6d249..1707747 100644
--- a/packaging/bookinfo.xsl
+++ b/packaging/bookinfo.xsl
@@ -45,7 +45,7 @@
select="@worker"/></xsl:call-template>
</othercredit>
</xsl:for-each>
- <xsl:element name="revhistory">
+ <xsl:element name="revhistory" use-attribute-sets="revhist">
<xsl:for-each select="/rpm-info/changelog/revision[@role != 'rpm']">
<xsl:element name="revision">
<xsl:element name="revnumber">
@@ -104,4 +104,10 @@
<xsl:include href="templates.xsl"/>
+ <!-- This attribute set guarantees the write chunk file name, since it is not
+ set in the standard XSL stylesheets. -->
+ <xsl:attribute-set name="revhist">
+ <xsl:attribute name="id">rv-revhistory</xsl:attribute>
+ </xsl:attribute-set>
+
</xsl:stylesheet>