Oops: revert 49636. We tell a2x to use fop to generate the PDFs.
[metze/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 /*
15  * Editor modelines
16  *
17  * Local Variables:
18  * c-basic-offset: 4
19  * tab-width: 8
20  * indent-tabs-mode: nil
21  * End:
22  *
23  * ex: set shiftwidth=4 tabstop=8 expandtab:
24  * :indentSize=4:tabSize=8:noTabs=true:
25  */
26 </xsl:template>
27
28
29 <xsl:template match="fields">
30 <xsl:for-each select="field">
31     <xsl:sort select="@number" data-type="number"/>
32         { &amp;fix_fields[<xsl:value-of select="position( ) -1" />].hf_id,
33             { "<xsl:value-of select="@name"/> (<xsl:value-of select="@number"/>)", "fix.<xsl:value-of select="@name"/>",
34             FT_STRING, BASE_NONE, NULL, 0x00,
35             NULL, HFILL }
36         },</xsl:for-each></xsl:template>
37 </xsl:stylesheet>