introduction multimedia
[] readme course preface 1 2 3 4 5 6 7 appendix checklist research quotes resources director

talk show tell print

example-step.xsl


  <?xml version="1.0"?>
  

step

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

For an example look at step

output


  <xsl:output method="text"/>
  
  

step


  <xsl:template match="/step">
  
  <xsl:apply-templates/>
  </xsl:template>
  
  

action


  
  <xsl:template match="action">
  script( <xsl:value-of select="@type"/>, ActionList) :-
     ActionList = [ 
  <xsl:apply-templates/>
  skip,
  ], !.
  </xsl:template>
  
  

seq & par


  
  <xsl:template match="seq">
  <xsl:apply-templates/>
  </xsl:template>
  
  <xsl:template match="par">
    parallel([ <xsl:apply-templates/> 
    ]),
  </xsl:template>
  
  

gesture


  
  <xsl:template match="gesture">
  <xsl:value-of select="@type"/>( , , , ),
  </xsl:template>
  
  

etc


  
  <!-- ignore all not matched -->
  <!-- xsl:template match="*" priority="-1"/ -->
  
  </xsl:stylesheet>
  


[] readme course preface 1 2 3 4 5 6 7 appendix checklist research quotes resources director
eliens@cs.vu.nl

draft version 0.9 (7/1/2002)