You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ni...@apache.org on 2002/03/05 16:14:09 UTC
cvs commit: xml-cocoon2/src/documentation/stylesheets/printer_skin document2html.xsl
nicolaken 02/03/05 07:14:09
Modified: src/documentation/stylesheets document2html.xsl
src/documentation/stylesheets/printer_skin document2html.xsl
Log:
Now outputs "html" as main tag instead of "document", as suggested by Piroumian, Konstantin <KP...@flagship.ru>
Revision Changes Path
1.3 +2 -2 xml-cocoon2/src/documentation/stylesheets/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/documentation/stylesheets/document2html.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- document2html.xsl 23 Feb 2002 23:25:03 -0000 1.2
+++ document2html.xsl 5 Mar 2002 15:14:09 -0000 1.3
@@ -6,7 +6,7 @@
<xsl:template match="/">
<!-- checks if this is the included document to avoid neverending loop -->
<xsl:if test="not(book)">
- <document>
+ <html>
<xsl:choose>
<xsl:when test="document/header/title">
<title>
@@ -20,7 +20,7 @@
<body text="#000000" link="#039acc" vlink="#0086b2" alink="#cc0000" topmargin="4" leftmargin="4" marginwidth="4" marginheight="4" bgcolor="#ffffff">
<xsl:apply-templates/>
</body>
- </document>
+ </html>
</xsl:if>
<xsl:if test="book">
<xsl:apply-templates/>
1.3 +2 -2 xml-cocoon2/src/documentation/stylesheets/printer_skin/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/documentation/stylesheets/printer_skin/document2html.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- document2html.xsl 8 Jan 2002 10:34:06 -0000 1.2
+++ document2html.xsl 5 Mar 2002 15:14:09 -0000 1.3
@@ -11,7 +11,7 @@
<xsl:template match="/">
<!-- checks if this is the included document to avoid neverending loop -->
<xsl:if test="not(book)">
- <document>
+ <html>
<xsl:choose>
<xsl:when test="document/header/title">
<title><xsl:value-of select="document/header/title"/></title>
@@ -27,7 +27,7 @@
<xsl:apply-templates/>
</body>
- </document>
+ </html>
</xsl:if>
<xsl:if test="book">
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org