nicolaken 02/03/06 09:24:47
Modified: src/documentation/stylesheets document2html.xsl
src/documentation/stylesheets/printer_skin document2html.xsl
Log:
Fixing stylesheet: it needs main document tag because it's used by other stylesheets.
Revision Changes Path
1.4 +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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- document2html.xsl 5 Mar 2002 15:14:09 -0000 1.3
+++ document2html.xsl 6 Mar 2002 17:24:47 -0000 1.4
@@ -6,7 +6,7 @@
<xsl:template match="/">
<!-- checks if this is the included document to avoid neverending loop
-->
<xsl:if test="not(book)">
- <html>
+ <document>
<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>
- </html>
+ </document>
</xsl:if>
<xsl:if test="book">
<xsl:apply-templates/>
1.4 +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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- document2html.xsl 5 Mar 2002 15:14:09 -0000 1.3
+++ document2html.xsl 6 Mar 2002 17:24:47 -0000 1.4
@@ -11,7 +11,7 @@
<xsl:template match="/">
<!-- checks if this is the included document to avoid neverending loop -->
<xsl:if test="not(book)">
- <html>
+ <document>
<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>
- </html>
+ </document>
</xsl:if>
<xsl:if test="book">
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]