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="/">
- <xsl:for-each select="project/chapter">
- <xsl:variable name="m_file"><xsl:value-of select="@href"/></xsl:variable>
- <xsl:apply-templates select="document($m_file)/chapter"/>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template match="chapter">
- <xsl:apply-templates select="section | item"/>
- </xsl:template>
-
- <xsl:template match="section">
- <!-- xt <xsl:value-of select="../@id"/>.xml page.xsl <xsl:value-of select="../@id"/>/<xsl:value-of select="@id"/>.xml id=<xsl:value-of select="@id"/> -->
- <xsl:apply-templates select="item"/>
- </xsl:template>
-
- <xsl:template match="item">
- xt <xsl:value-of select="../../@id"/>.xml page.xsl <xsl:value-of select="../../@id"/>/<xsl:value-of select="@id"/>.xml id=<xsl:value-of select="@id"/>
- </xsl:template>
-
- </xsl:stylesheet>