… | |
… | |
8 | <tr> |
8 | <tr> |
9 | <th>NAME</th><th>TYPE</th><th>DEFAULT</th><th>DEC-GUARD</th> |
9 | <th>NAME</th><th>TYPE</th><th>DEFAULT</th><th>DEC-GUARD</th> |
10 | </tr> |
10 | </tr> |
11 | <xsl:apply-templates select="node()" mode="mbody"/> |
11 | <xsl:apply-templates select="node()" mode="mbody"/> |
12 | </table> |
12 | </table> |
|
|
13 | </xsl:template> |
|
|
14 | |
|
|
15 | <xsl:template match="type"> |
|
|
16 | <h4>TYPE <xsl:value-of select="@name"/></h4> |
|
|
17 | BASE TYPE: <xsl:value-of select="@type"/><br/> |
|
|
18 | LENGTH: <xsl:value-of select="@length"/><br/> |
|
|
19 | MULTIPLIER: <xsl:value-of select="@multiplier"/><br/> |
13 | </xsl:template> |
20 | </xsl:template> |
14 | |
21 | |
15 | <xsl:template match="struct"> |
22 | <xsl:template match="struct"> |
16 | <h4>STRUCTURE <xsl:value-of select="@name"/></h4> |
23 | <h4>STRUCTURE <xsl:value-of select="@name"/></h4> |
17 | <xsl:if test="@class"> |
24 | <xsl:if test="@class"> |
… | |
… | |
33 | <xsl:template match="member" mode="mbody"> |
40 | <xsl:template match="member" mode="mbody"> |
34 | <tr> |
41 | <tr> |
35 | <td><xsl:value-of select="@name"/></td> |
42 | <td><xsl:value-of select="@name"/></td> |
36 | <td><xsl:value-of select="@type"/></td> |
43 | <td><xsl:value-of select="@type"/></td> |
37 | <td><xsl:value-of select="@default"/></td> |
44 | <td><xsl:value-of select="@default"/></td> |
38 | <td><b><xsl:value-of select="@guard-member"/></b> <xsl:value-of select="@guard-cond"/></td> |
45 | <td><b><xsl:value-of select="@guard-member"/></b> |
|
|
46 | <xsl:text> </xsl:text><xsl:value-of select="@guard-cond"/> |
|
|
47 | </td> |
39 | </tr> |
48 | </tr> |
40 | </xsl:template> |
49 | </xsl:template> |
41 | |
50 | |
42 | <xsl:template match="text()" mode="mbody"> |
51 | <xsl:template match="text()" mode="mbody"> |
43 | <!-- hack --> |
52 | <!-- hack --> |