nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <!-- |
2 | --> |
||
3 | |||
4 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
||
5 | <xsl:output method="text" encoding="UTF-8"/> |
||
6 | |||
7 | <xsl:template match="text()"/> |
||
8 | |||
9 | <xsl:template match="/"> |
||
10 | <xsl:apply-templates/> |
||
11 | </xsl:template> |
||
12 | |||
13 | <!-- |
||
14 | <xsl:value-of select="@number" />, <xsl:value-of select="@name" />, |
||
15 | --> |
||
16 | |||
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(.)" /> |
||
23 | </xsl:if> |
||
24 | </xsl:for-each> |
||
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"/> |
||
27 | <xsl:text> |
||
28 | </xsl:text> |
||
29 | </xsl:template> |
||
30 | |||
31 | </xsl:stylesheet> |