~karl-schock/ubuntu-desktop-course/ubuntu-desktop-course-german

« back to all changes in this revision

Viewing changes to lib/instructorguide.xsl

Fixes and new stylesheet for instructor notes and answers, updated makefile

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version='1.0'?>
 
2
 
2
3
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 
4
 
 
5
    <xsl:output method="xml" indent="yes" encoding="utf-8"
 
6
   doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
 
7
   doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
 
8
 
3
9
    <xsl:template match="instructornote">
4
 
        <xsl:value-of select="."/>
5
 
    </xsl:template>
 
10
        <note>
 
11
        <xsl:apply-templates/> 
 
12
        </note>
 
13
    </xsl:template>
 
14
 
 
15
    <xsl:template match="answer">
 
16
        <para>
 
17
        <xsl:apply-templates/> 
 
18
        </para>
 
19
    </xsl:template>
 
20
 
 
21
    <xsl:template match="node()|@*">
 
22
        <xsl:copy>
 
23
           <xsl:apply-templates select="@*|node()" />
 
24
        </xsl:copy>
 
25
    </xsl:template>
 
26
 
6
27
</xsl:stylesheet>