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-example-include.xsl


  <?xml version="1.0"?>
  

include

example

stylesheet


  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1">
  <xsl:import href="vr/library-document.xsl"/>
  <xsl:import href="vr/library-slide.xsl"/>
  <xsl:output method="html"/>
  
  <xsl:variable name="html" select="0"/>
  <xsl:variable name="x3d" select="1"/>
  <xsl:variable name="format" select="html"/>
  

templates


  
  <xsl:template match="document" mode="begin"> 
  <xsl:if test="format = html">
  <b>begin: <xsl:value-of select="format"/></b>
  </xsl:if>
  </xsl:template>
  
  <xsl:template name="document-end"> end: </xsl:template>
  
  <xsl:template match="/">
  <HTML>
  <xsl:apply-templates/>
  </HTML>
  </xsl:template>
  
  </xsl: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.