docs-common/packaging doc-version.xsl,NONE,1.1
Tommy Reynolds (jtr)
fedora-docs-commits at redhat.com
Fri Jan 6 19:18:41 UTC 2006
Author: jtr
Update of /cvs/docs/docs-common/packaging
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21025
Added Files:
doc-version.xsl
Log Message:
Extract the document version from the VERY FIRST change log entry in
the "rpm-info.xml" file.
--- NEW FILE doc-version.xsl ---
<!-- Extract version number from rpm-info.xml -->
<xsl:stylesheet version="1.0" xml:space="preserve" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output encoding="UTF-8" indent="no" method="text"/>
<!-- Note: do not indent this file! Any whitespace here
will be reproduced in the output -->
<xsl:template match="/"><xsl:value-of select="/rpm-info/changelog/revision[1]/@version"/>
</xsl:template>
</xsl:stylesheet>
More information about the Fedora-docs-commits
mailing list