smb2-dissector: learn the "REPLAY_OPERATION" flag
[obnox/wireshark/wip.git] / fix / hfField.xsl
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 static hf_register_info hf_FIX[] = {
11       <xsl:apply-templates/>
12   };
13
14 </xsl:template>
15
16
17 <xsl:template match="fields">
18 <xsl:for-each select="field">
19     <xsl:sort select="@number" data-type="number"/> 
20         { &amp;fix_fields[<xsl:value-of select="position( ) -1" />].hf_id, 
21             { "<xsl:value-of select="@name"/> (<xsl:value-of select="@number"/>)", "fix.<xsl:value-of select="@name"/>",
22             FT_STRING, BASE_NONE, NULL, 0x00,
23             NULL, HFILL }
24         },</xsl:for-each></xsl:template>
25 </xsl:stylesheet>