4 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version=
"1.0">
5 <xsl:output method=
"text" encoding=
"UTF-8"/>
7 <xsl:template match=
"text()"/>
9 <xsl:template match=
"/">
10 <xsl:apply-templates/>
14 <xsl:value-of select="@number" />, <xsl:value-of select="@name" />,
17 <xsl:template match=
"fix">
18 <xsl:variable name=
"max_tag">
19 <xsl:for-each select=
"fields/field/@number">
20 <xsl:sort data-type=
"number" order=
"descending" />
21 <xsl:if test=
"position() = 1">
22 <xsl:value-of select=
"number(.)" />
25 </xsl:variable>#define FIX_
<xsl:value-of select=
"@major"/><xsl:value-of select=
"@minor"/> <xsl:text> </xsl:text>
26 <xsl:value-of select=
"$max_tag"/>