stefano 00/07/19 17:12:58
Modified: skins/printer/stylesheets document2html.xsl
Log:
no message
Revision Changes Path
1.2 +12 -22 xml-cocoon/skins/printer/stylesheets/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/skins/printer/stylesheets/document2html.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- document2html.xsl 2000/05/22 13:47:32 1.1
+++ document2html.xsl 2000/07/20 00:12:58 1.2
@@ -21,24 +21,14 @@
<link rel="stylesheet" type="text/css" href="resources/simple.css" title="Simple
Style"/>
</head>
<body>
-
- <!-- THE MAIN PANEL (SIDEBAR AND CONTENT) -->
- <table id="main-panel">
- <tr>
- <!-- THE SIDE BAR -->
- <td id="side-bar">
- <xsl:apply-templates select="document($stylebook.project)"/>
- </td>
- <!-- THE CONTENT PANEL -->
- <td id="content-panel">
- <xsl:apply-templates/>
- </td>
- </tr>
- </table>
+ <p class="legal">Cocoon Documentation</p>
+ <h1 class="title"><xsl:value-of select="document/header/title"/></h1>
+ <xsl:apply-templates/>
+ <p class="legal">Copyright (c) @year@ <a href="http://xml.apache.org">The
Apache Software Foundation.</a><br/>All rights reserved.</p>
</body>
</html>
</xsl:if>
-
+
<xsl:if test="book">
<xsl:apply-templates/>
</xsl:if>
@@ -65,7 +55,7 @@
<xsl:template match="separator">
<hr/>
</xsl:template>
-
+
<!-- ====================================================================== -->
<!-- header section -->
<!-- ====================================================================== -->
@@ -115,7 +105,7 @@
</xsl:template>
<xsl:template match="source">
- <pre class="source"><xsl:apply-templates/></pre>
+ <pre><xsl:apply-templates/></pre>
</xsl:template>
<xsl:template match="fixme">
@@ -136,10 +126,10 @@
<li>
<strong><xsl:value-of select="."/></strong>
<xsl:text> - </xsl:text>
- <xsl:value-of select="following::dd"/>
+ <xsl:value-of select="following::dd"/>
</li>
</xsl:template>
-
+
<xsl:template match="dd">
<!-- ignore since already used -->
</xsl:template>
@@ -155,7 +145,7 @@
<!-- ====================================================================== -->
<!-- since we cloned the XHTML model, we don't need any futher styling -->
-
+
<!-- ====================================================================== -->
<!-- images section -->
<!-- ====================================================================== -->
@@ -163,7 +153,7 @@
<xsl:template match="figure|img|icon">
<img src="{@src}" alt="{@alt}" class="{name(.)}"/>
</xsl:template>
-
+
<!-- ====================================================================== -->
<!-- links section -->
<!-- ====================================================================== -->
@@ -186,6 +176,6 @@
<xsl:template match="anchor">
<a name="{@id}"><xsl:comment>anchor</xsl:comment></a>
- </xsl:template>
+ </xsl:template>
</xsl:stylesheet>
|