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)
output
step
action
seq & par
gesture
etc
draft version 0.9 (7/1/2002)