77 |
<xsl:template match="switch"> |
<xsl:template match="switch"> |
78 |
<tr> |
<tr> |
79 |
<td colspan="9"> |
<td colspan="9"> |
80 |
<h2> |
<xsl:call-template name="local_name_mapping" /> |
|
<xsl:text>{</xsl:text> |
|
|
<xsl:value-of select="local-name()"/> |
|
|
<xsl:text>} </xsl:text> <xsl:value-of select="@description"/> |
|
|
</h2> |
|
81 |
</td> |
</td> |
82 |
</tr> |
</tr> |
83 |
<xsl:apply-templates/> |
<xsl:for-each select="child::*"> |
84 |
|
<xsl:call-template name="elements_of_switch" /> |
85 |
|
</xsl:for-each> |
86 |
|
</xsl:template> |
87 |
|
|
88 |
|
<xsl:template name="elements_of_switch"> |
89 |
<tr> |
<tr> |
90 |
<td colspan="9"> |
<td valign="top"><xsl:value-of select="@name"/></td> |
91 |
<h2> |
<td colspan="8"> |
92 |
<xsl:text>{/</xsl:text> |
<table> |
93 |
<xsl:value-of select="local-name()"/> |
<xsl:apply-templates select="self::*"/> |
94 |
<xsl:text>} </xsl:text> <xsl:value-of select="@description"/> |
</table> |
|
</h2> |
|
95 |
</td> |
</td> |
96 |
</tr> |
</tr> |
97 |
</xsl:template> |
</xsl:template> |
98 |
|
|
99 |
<xsl:template match="radio|choice|checkbox"> |
<xsl:template match="radio|choice|checkbox"> |
100 |
<tr> |
<tr> |
101 |
<td> |
<td> |