sraeburn 2003/09/11 12:20:14
Modified: doc/stylesheets struts.xsl
Log:
Fix missing tag attribute descriptions
Revision Changes Path
1.13 +31 -11 jakarta-struts/doc/stylesheets/struts.xsl
Index: struts.xsl
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/stylesheets/struts.xsl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- struts.xsl 9 Sep 2003 21:29:10 -0000 1.12
+++ struts.xsl 11 Sep 2003 19:20:14 -0000 1.13
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<!-- Content Stylesheet for Struts User's Guide -->
<!-- $Id$ -->
@@ -93,6 +93,26 @@
<div id="main">
<xsl:apply-templates select="body"/>
+
+ <!-- TODO
+ <hr/>
+ <h3>Contributors</h3>
+ <p>Project/@Authors: <xsl:value-of
select="boolean($project/@authors)"/></p>
+ <p>Document/@Authors: <xsl:value-of
select="boolean(/document/@authors)"/></p>
+
+ <xsl:if test="/[EMAIL PROTECTED]'false'] and
+ ([EMAIL PROTECTED]'true'] or /[EMAIL PROTECTED]'true'])">
+ <div class="authors">
+ <p>Contributors</p>
+ <ul>
+ <xsl:for-each select="/document/properties/author">
+ <li><xsl:value-of select="."/></li>
+ </xsl:for-each>
+ </ul>
+ </div>
+ </xsl:if>
+ -->
+
</div>
<div id="menu">
@@ -246,9 +266,18 @@
<xsl:apply-templates select="info"/>
+ <xsl:if test="not(@document-attributes)">
+ <xsl:call-template name="document-tag-attributes" />
+ </xsl:if>
+ <xsl:if test="@document-attributes='true'">
+ <xsl:call-template name="document-tag-attributes" />
+ </xsl:if>
+
+<!--
<xsl:if test="child::task">
<xsl:apply-templates select="attribute"/>
</xsl:if>
+-->
</div>
<p><a href="#top">Back to top</a></p>
@@ -337,15 +366,6 @@
</td>
<td><xsl:value-of select="assigned"/></td>
</tr>
- </xsl:template>
-
-<!-- Contributors -->
- <xsl:template match="contributors">
- <ul>
- <xsl:for-each select="/document/properties/author">
- <li><xsl:value-of select="."/></li>
- </xsl:for-each>
- </ul>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]