ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/doc/doc2html.xsl
(Generate patch)

Comparing kgsueme/doc/doc2html.xsl (file contents):
Revision 1.3 by pcg, Thu Jun 5 10:09:10 2003 UTC vs.
Revision 1.4 by pcg, Thu Jun 5 10:28:35 2003 UTC

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>&#32;<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 -->

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines