home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="windows-1252"?>
- <!--
- cuckoo web authoring
- cuckoo-default.xsl
- ASP transformation
- Version 0.01
- Copyright (c) 2000-2001 Alexis Grandemange
- Mail: alexis.grandemange@pagebox.net
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; version
- 2.1 of the License.
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Lesser General Public License for more details.
- A copy of the GNU Lesser General Public License lesser.txt should be
- included in the distribution.
- -->
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <xsl:template match="cuckoo">
- <html>
- <head>
- <xsl:copy>
- <xsl:apply-templates select="info"/>
- </xsl:copy>
- <link rel="stylesheet" href="cuckoo.css" type="text/css"/>
- <script src="cuckoo.js"></script></head><body>
- <div id="tooltip" style="position:absolute;visibility:hidden;border:1px solid black;font-size:small;layer-background-color:#ffffaa;color:black;background:#ffffaa;padding:1px">
- </div>
- <xsl:copy>
- <xsl:apply-templates select="document('pagebox.xml')/site/header"/>
- </xsl:copy>
- <table><tr><td valign="top">
- <xsl:copy>
- <xsl:apply-templates select="content"/>
- </xsl:copy>
- <p align="center">
- <xsl:copy>
- <xsl:apply-templates select="document('pagebox.xml')/site/footer"/>
- </xsl:copy>
- </p>
- </td><td valign="top" align="left" width="250">
- <table><tr><td style="background-color:#99ff99">
- <xsl:processing-instruction name="php">include("cuckoo-news.html"); ?</xsl:processing-instruction>
- </td></tr></table>
- <p> </p>
- <xsl:copy>
- <xsl:apply-templates select="toc"/>
- </xsl:copy>
- <br/>
- <xsl:copy>
- <xsl:apply-templates select="document('pagebox.xml')/site/map"/>
- </xsl:copy>
- <table><tr><td><img src="cuckoo.gif" alt="Cuckoo mark"/></td><td width="5"> </td>
- <td width="120" style="font-family:Verdana;color:#ff8080;background-color:#99ff99;font-weight:bold;margin-top:5px;margin-botton:5px">
- Cuckoo generated</td></tr></table>
- </td></tr>
- </table></body></html>
- </xsl:template>
- <xsl:template match="info">
- <xsl:copy-of select="node()"/>
- </xsl:template>
- <xsl:template match="content">
- <xsl:copy-of select="node()"/>
- </xsl:template>
- <xsl:template match="toc">
- <xsl:copy-of select="node()"/>
- </xsl:template>
- <xsl:template match="header">
- <xsl:copy-of select="node()"/>
- </xsl:template>
- <xsl:template match="footer">
- <xsl:copy-of select="node()"/>
- </xsl:template>
- <xsl:template match="map">
- <table class="map-table"><tr><th class="map-title">Map</th></tr><tr><td><p>
- <xsl:copy-of select="node()"/>
- </p></td></tr></table>
- </xsl:template>
- </xsl:stylesheet>
-