media @ VU
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
<?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
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.