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-old-process-ml-style.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.1">
     <xsl:import xmlns:ml="ml" href="vr/process-ml-document.xsl"/>
     <xsl:output xmlns:ml="ml" method="xml"/>
     <xsl:namespace-alias xmlns:ml="ml" stylesheet-prefix="ml" result-prefix="xsl"/>
     <xsl:template xmlns:ml="ml" match="*/ml:style">
        <xsl:choose>
           <xsl:when test="@output">
              <xsl:document indent="yes" method="xml" href="{concat(@output,'.xsl')}">
                 <ml:stylesheet version="1.1">
                    <xsl:apply-templates mode="style"/>
                 </ml:stylesheet>
              </xsl:document>
           </xsl:when>
           <xsl:otherwise>
              <ml:stylesheet version="1.1">
                 <xsl:apply-templates mode="style"/>
              </ml:stylesheet>
           </xsl:otherwise>
        </xsl:choose>
     </xsl:template>
     <xsl:template xmlns:ml="ml" match="ul|text()" mode="style"/>
     <xsl:template xmlns:ml="ml" match="*|@*" mode="style">
        <xsl:copy>
           <xsl:apply-templates select="@*" mode="style"/>
           <xsl:apply-templates mode="style"/>
        </xsl:copy>
     </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.