/[formed]/trunk/contrib/convert-formedtree2html.xsl
ViewVC logotype

Diff of /trunk/contrib/convert-formedtree2html.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 67 by frank, Tue Aug 21 13:15:51 2007 UTC revision 68 by frank, Tue Aug 21 13:28:35 2007 UTC
# Line 77  Line 77 
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>

Legend:
Removed from v.67  
changed lines
  Added in v.68

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26