You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ni...@apache.org on 2002/07/19 20:56:48 UTC
cvs commit: jakarta-avalon/src/documentation/skins/avalon-tigris/xslt/html document2html.xsl
nicolaken 2002/07/19 11:56:48
Modified: src/documentation/skins/avalon-tigris/xslt/html
document2html.xsl
Log:
Added generation with nested <section> taggs, getting ready for new DTD.
Revision Changes Path
1.2 +4 -27 jakarta-avalon/src/documentation/skins/avalon-tigris/xslt/html/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file: /home/cvs/jakarta-avalon/src/documentation/skins/avalon-tigris/xslt/html/document2html.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- document2html.xsl 13 Jul 2002 10:01:58 -0000 1.1
+++ document2html.xsl 19 Jul 2002 18:56:48 -0000 1.2
@@ -61,48 +61,25 @@
<xsl:choose>
<xsl:when test="$level=1">
- <div class="h1"><h1><xsl:value-of select="@title"/></h1></div>
+ <div class="h3"><h3><xsl:value-of select="@title"/></h3></div>
<xsl:apply-templates/>
</xsl:when>
<xsl:when test="$level=2">
- <div class="h2"><h2><xsl:value-of select="@title"/></h2></div>
+ <div class="h4"><h4><xsl:value-of select="@title"/></h4></div>
<xsl:apply-templates/>
</xsl:when>
<xsl:when test="$level=3">
- <div class="h3"><h3><xsl:value-of select="@title"/></h3></div>
+ <div class="h2"><h2><xsl:value-of select="@title"/></h2></div>
<xsl:apply-templates/>
</xsl:when>
<xsl:otherwise>
- <div class="h4"><h4><xsl:value-of select="@title"/></h4></div>
+ <div class="h5"><h5><xsl:value-of select="@title"/></h5></div>
<xsl:apply-templates/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
-<!--
- <xsl:template match="s1">
- <div class="h1"><h1><xsl:value-of select="@title"/></h1></div>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="s2">
- <div class="h2"><h2><xsl:value-of select="@title"/></h2></div>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="s3">
- <div class="h3"><h3><xsl:value-of select="@title"/></h3></div>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="s4">
- <div class="h4"><h4><xsl:value-of select="@title"/></h4></div>
- <xsl:apply-templates/>
- </xsl:template>
--->
-
-
<xsl:template match="s1">
<div class="h3"><h3><xsl:value-of select="@title"/></h3></div>
<xsl:apply-templates/>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>