home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <!-- Edugen XSL Stylesheets V1.0 =======================================
-
- File pages.xsl for Organic View
-
- This file is part of the Edugen XSL Stylesheets.
- Copyright (c) 2002 WWL Corp. - A Subsidiary of John Wiley & Sons, Inc.
- ========================================================================= -->
- <xsl:output method="html" indent="yes"/>
-
- <xsl:template match="/">
- <html>
- <xsl:apply-templates/>
- </html>
- </xsl:template>
-
- <xsl:template match="chapter">
- <head>
- <title>Chapter <xsl:value-of select="@num"/>: <xsl:value-of select="title"/></title>
- </head>
-
- <body>
- <h3>Chapter <xsl:value-of select="@num"/>: <xsl:value-of select="title"/></h3>
- <xsl:apply-templates select="section"/>
- </body>
- </xsl:template>
-
-
- <xsl:template match="title">
- <xsl:apply-templates/>
- </xsl:template>
-
-
- <xsl:template match="section">
- <h4>Section <xsl:value-of select="@num"/>: <xsl:apply-templates select="title"/></h4>
- <xsl:apply-templates select="item"/>
- </xsl:template>
-
- <xsl:template match="item">
- <xsl:number value="position()"/>: <xsl:apply-templates select="title"/> <xsl:value-of select="@type"/><br/>
- </xsl:template>
-
-
-
- </xsl:stylesheet>