media @ VU
[] readme course preface I 1 2 II 3 4 III 5 6 7 IV 8 9 10 V 11 12 afterthoughts appendix references examples resources

talk show tell print

vr-boot-ml.xsl


  <?xml version="1.0" encoding="utf-8"?>
  <ml:stylesheet xmlns:ml="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
     <xsl:param xmlns:ml="ml" name="format" select="xsl"/>
     <xsl:output xmlns:ml="ml" method="xml"/>
     <xsl:template xmlns:ml="ml" match="/document">
        <xsl:param name="level" select="0"/>
        <xsl:if test="level = 0">
           <xsl:apply-templates select="." mode="begin"/>
        </xsl:if>
        <xsl:apply-templates/>
        <xsl:if test="level = 0">
           <xsl:apply-templates select="." mode="end"/>
        </xsl:if>
     </xsl:template>
     <xsl:template xmlns:ml="ml" match="*/ml:include">
        <xsl:param name="pre"/>
        <xsl:param name="post"/>
        <xsl:if test="pre">
           <xsl:apply-templates select="pre"/>
        </xsl:if>
        <xsl:variable name="file" select="document(@href)"/>
        <xsl:apply-templates select="file/document">
           <xsl:with-param name="level" select="1"/>
        </xsl:apply-templates>
        <xsl:if test="post">
           <xsl:apply-templates select="post"/>
        </xsl:if>
     </xsl:template>
  </ml:stylesheet>

[] readme course preface I 1 2 II 3 4 III 5 6 7 IV 8 9 10 V 11 12 afterthoughts appendix references examples resources

(C) A. Eliëns 9/8/2006

You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.