[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
docs-common/packaging doc-version.xsl,NONE,1.1
- From: "Tommy Reynolds" (jtr) <fedora-docs-commits redhat com>
- To: fedora-docs-commits redhat com
- Subject: docs-common/packaging doc-version.xsl,NONE,1.1
- Date: Fri, 6 Jan 2006 14:18:41 -0500
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>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]