glenn 01/05/19 19:24:54
Modified: src/doc/stylesheets taglibs.xsl
Log:
Update for publishing to Jakarta-Taglibs
Revision Changes Path
1.5 +59 -1 jakarta-taglibs/src/doc/stylesheets/taglibs.xsl
Index: taglibs.xsl
===================================================================
RCS file: /home/cvs/jakarta-taglibs/src/doc/stylesheets/taglibs.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- taglibs.xsl 2001/05/09 20:58:09 1.4
+++ taglibs.xsl 2001/05/20 02:24:53 1.5
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Content Stylesheet for Taglibs Documentation -->
-<!-- $Id: taglibs.xsl,v 1.4 2001/05/09 20:58:09 morgand Exp $ -->
+<!-- $Id: taglibs.xsl,v 1.5 2001/05/20 02:24:53 glenn Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
@@ -351,6 +351,64 @@
<xsl:template match="taginfo">
<dt><b><xsl:value-of select="@name"/> Taglib</b></dt>
+ <dd><xsl:apply-templates/></dd>
+ </xsl:template>
+
+ <xsl:template match="ctlxindex">
+ <font size="-1">
+ <xsl:if test="ctlxinfo[@state='released']">
+ <xsl:call-template name="released_ctlx"/>
+ </xsl:if>
+ <xsl:if test="ctlxinfo[@state='beta']">
+ <xsl:call-template name="beta_ctlx"/>
+ </xsl:if>
+ <xsl:if test="ctlxinfo[@state='develop']">
+ <xsl:call-template name="develop_ctlx"/>
+ </xsl:if>
+ <xsl:if test="ctlxinfo[@state='unsupported']">
+ <xsl:call-template name="unsupported_ctlx"/>
+ </xsl:if>
+ </font>
+ </xsl:template>
+
+ <xsl:template name="develop_ctlx">
+ <font size="+1"><u>Pre-Release CTLX</u></font>
+ <dl>
+ <xsl:apply-templates select="ctlxinfo[@state='develop']">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ </dl>
+ </xsl:template>
+
+ <xsl:template name="released_ctlx">
+ <font size="+1"><u>Released CTLX</u></font>
+ <dl>
+ <xsl:apply-templates select="ctlxinfo[@state='released']">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ </dl>
+ </xsl:template>
+
+ <xsl:template name="beta_ctlx">
+ <font size="+1"><u>Beta CTLX</u></font>
+ <dl>
+ <xsl:apply-templates select="ctlxinfo[@state='beta']">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ </dl>
+ </xsl:template>
+
+ <xsl:template name="unsupported_ctlx">
+ <font size="+1"><u>Unsupported CTLX</u></font>
+ <dl>
+ <xsl:apply-templates select="ctlxinfo[@state='unsupported']">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ </dl>
+ </xsl:template>
+
+ <xsl:template match="ctlxinfo">
+ <dt><b><xsl:value-of select="@name"/> CTLX</b></dt>
<dd><xsl:apply-templates/></dd>
</xsl:template>