jstrachan 01/05/10 05:07:13
Modified: taglib-doc-kit/xml taglib-doc.xsl taglib.css
Log:
Fixed XSLT such that requirement sections can contain hypertext links and changed
the CSS such that the background of example code doens't look wierd when using several
lines of code
Revision Changes Path
1.3 +8 -1 jakarta-taglibs/taglib-doc-kit/xml/taglib-doc.xsl
Index: taglib-doc.xsl
===================================================================
RCS file: /home/cvs/jakarta-taglibs/taglib-doc-kit/xml/taglib-doc.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- taglib-doc.xsl 2001/05/10 10:19:08 1.2
+++ taglib-doc.xsl 2001/05/10 12:07:09 1.3
@@ -84,7 +84,7 @@
<!-- Requirements -->
<a><xsl:attribute name="name">requirements</xsl:attribute></a>
<h3>Requirements</h3>
- <p><xsl:value-of select="requirements-info"/></p>
+ <xsl:apply-templates select="requirements-info"/>
<!-- Configuration -->
<a><xsl:attribute name="name">config</xsl:attribute></a>
@@ -246,4 +246,11 @@
<xsl:call-template name="footer"/>
</body>
</xsl:template>
+
+<xsl:template match="requirements-info">
+ <p>
+ <xsl:copy-of select="*|text()"/>
+ </p>
+</xsl:template>
+
</xsl:stylesheet>
1.2 +13 -13 jakarta-taglibs/taglib-doc-kit/xml/taglib.css
Index: taglib.css
===================================================================
RCS file: /home/cvs/jakarta-taglibs/taglib-doc-kit/xml/taglib.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- taglib.css 2001/01/23 13:22:26 1.1
+++ taglib.css 2001/05/10 12:07:10 1.2
@@ -1,13 +1,13 @@
-body { background-color: #ffffff; }
-h1 { text-align: center; }
-code { font: medium sans-serif; color: #990099; background-color: #ffffbb; }
-.middle { text-align: center; }
-.comment { color: #3300cc; }
-.jsp-squig { color: #009999; }
-.scriptlet { color: #666666; }
-.tclass { font-weight: bold; }
-.tbody { font-weight: bold; }
-.scriptvar { font-weight: bold; }
-.restrictions { font-weight: bold; }
-.attributes { font-weight: bold; }
-.example { font-weight: bold; }
+body { background-color: #ffffff; }
+h1 { text-align: center; }
+code { font: medium sans-serif; color: #990099; }
+.middle { text-align: center; }
+.comment { color: #3300cc; }
+.jsp-squig { color: #009999; }
+.scriptlet { color: #666666; }
+.tclass { font-weight: bold; }
+.tbody { font-weight: bold; }
+.scriptvar { font-weight: bold; }
+.restrictions { font-weight: bold; }
+.attributes { font-weight: bold; }
+.example { font-weight: bold; }