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"?>
<!-- Generic stylesheet for viewing XML -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<!-- This template will always be executed, even if this stylesheet is not run on the document root -->
<xsl:template>
<DIV STYLE="font-family:Courier; font-size:10pt; margin-bottom:2em">
<!-- Scoped templates are used so they don't interfere with the "kick-off" template. -->
<xsl:apply-templates select=".">
<xsl:template><xsl:apply-templates/></xsl:template>
<xsl:template match="*">
<DIV STYLE="margin-left:2em; color:#003366">
<<xsl:node-name/><xsl:apply-templates select="@*"/>/>
</DIV>
</xsl:template>
<xsl:template match="*[node()]">
<DIV STYLE="margin-left:2em">
<SPAN STYLE="color:#003366"><<xsl:node-name/><xsl:apply-templates select="@*"/>></<xsl:node-name/>></SPAN>
</DIV>
</xsl:template>
<xsl:template match="@*">
<SPAN STYLE="color:green"> <xsl:node-name/>="<SPAN STYLE="color:red"><xsl:value-of /></SPAN>"</SPAN>
</xsl:template>
<xsl:template match="pi()">
<DIV STYLE="margin-left:2em; color:maroon"><?<xsl:node-name/><xsl:apply-templates select="@*"/>?></DIV>
</xsl:template>
<xsl:template match="cdata()"><pre><![CDATA[<xsl:value-of />]]></pre></xsl:template>
<xsl:template match="textNode()"><xsl:value-of /></xsl:template>
</xsl:apply-templates>
</DIV>
</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.