User: pathoss Date: 02/04/29 05:59:37 Modified: src/java stylesheet.css xdoclet-tags2html.xsl Log: Nicer layout. Revision Changes Path 1.3 +1 -1 xdocletgui/src/java/stylesheet.css Index: stylesheet.css =================================================================== RCS file: /cvsroot/xdoclet/xdocletgui/src/java/stylesheet.css,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- stylesheet.css 29 Apr 2002 12:31:57 -0000 1.2 +++ stylesheet.css 29 Apr 2002 12:59:37 -0000 1.3 @@ -31,7 +31,7 @@ margin: 0px 0px 5px; font: 165% verdana,arial,helvetica } h2 { - margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica + margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica } h3 { margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica 1.3 +33 -23 xdocletgui/src/java/xdoclet-tags2html.xsl Index: xdoclet-tags2html.xsl =================================================================== RCS file: /cvsroot/xdoclet/xdocletgui/src/java/xdoclet-tags2html.xsl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- xdoclet-tags2html.xsl 29 Apr 2002 12:31:57 -0000 1.2 +++ xdoclet-tags2html.xsl 29 Apr 2002 12:59:37 -0000 1.3 @@ -2,37 +2,47 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> - <HTML> - <HEAD> - <LINK TITLE="Style" TYPE="text/css" REL="stylesheet" HREF="stylesheet.css"/> + <html> + <head> + <link title="Style" type="text/css" rel="stylesheet" href="stylesheet.css"/> <script type="text/javascript" src="tablesort.js"></script> - <TITLE>XDoclet Tags</TITLE> - </HEAD> - <BODY> + <title>XDoclet Tags</title> + </head> + <body> <xsl:for-each select="xdoclet/namespace"> - <H1><xsl:value-of select="usage-description"/></H1> + <h1><xsl:value-of select="usage-description"/></h1> <xsl:for-each select="tags/tag"> - <H2><xsl:text>@</xsl:text><xsl:value-of select="name"/></H2> + <table width="100%" border="0" cellspacing="4" cellpadding="0" bgcolor="" style="border: 1px solid grey;"> + <tr><td> + <h2><xsl:text>@</xsl:text><xsl:value-of select="name"/></h2> <xsl:value-of select="usage-description"/> - <TABLE WIDTH="95%" CELLSPACING="2" CELLPADDING="5" BORDER="0" CLASS="details" onclick="sortColumn(event)"> - <thead class="table-header"> - <TD WIDTH="10%">Parameter</TD><TD WIDTH="6%">Type</TD><TD WIDTH="10%">Applicability</TD><TD WIDTH="74%">Description</TD> + <table width="100%" cellspacing="2" cellpadding="4" border="0" class="details" onclick="sortColumn(event)"> + <thead> + <td width="15%" class="table-header">Parameter</td> + <td width="6%" class="table-header">Type</td> + <td width="10%" class="table-header">Applicability</td> + <td width="65%" class="table-header">Description</td> + <td width="4%" class="table-header">Mandatory</td> </thead> <tbody> <xsl:for-each select="parameter"> - <TR VALIGN="TOP"> - <TD><xsl:value-of select="name"/></TD> - <TD><xsl:value-of select="@type"/></TD> - <TD><xsl:value-of select="condition-description"/></TD> - <TD><xsl:value-of select="usage-description"/></TD> - </TR> + <tr valign="TOP"> + <td><xsl:value-of select="name"/></td> + <td><xsl:value-of select="@type"/></td> + <td><xsl:value-of select="condition-description"/></td> + <td><xsl:value-of select="usage-description"/></td> + <td><xsl:value-of select="mandatory"/></td> + </tr> </xsl:for-each> </tbody> - </TABLE> + </table> + </td></tr> + </table> + <br/> </xsl:for-each> </xsl:for-each> - </BODY> - </HTML> + </body> + </html> </xsl:template> </xsl:stylesheet>
_______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel