1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-28 12:12:22 -05:00

Use same version number for PDFs as for HTML.

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3719 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Tobias Markmann 2009-12-15 23:06:05 +00:00
parent 22558bda91
commit e6d7ee6d58

View File

@ -33,12 +33,7 @@
<!-- Create a variable named $maxXEPVersiom containing the MAX version --> <!-- Create a variable named $maxXEPVersiom containing the MAX version -->
<xsl:variable name="maxXEPVersion"> <xsl:variable name="maxXEPVersion">
<xsl:for-each select="/xep/header/revision"> <xsl:value-of select='/xep/header/revision[position()=1]/version'/>
<xsl:sort select="version" data-type="text" order="descending" />
<xsl:if test="position() = 1">
<xsl:value-of select="version" />
</xsl:if>
</xsl:for-each>
</xsl:variable> </xsl:variable>
<!-- Create a variable named $maxXEPDate containing the MAX date --> <!-- Create a variable named $maxXEPDate containing the MAX date -->