]> Git trees. - libqmvoc.git/commitdiff
Wise men told me to use 'em' and there are lesson links now.
authorFrederik Gladhorn <gladhorn@kde.org>
Tue, 6 Nov 2007 19:37:43 +0000 (19:37 +0000)
committerFrederik Gladhorn <gladhorn@kde.org>
Tue, 6 Nov 2007 19:37:43 +0000 (19:37 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=733586

keduvocdocument/docs/kvtml_html_stylesheet.xsl

index aca2a5e09b6618b9ecd891cb249dff73faa89e84..8cd2037f39bd1ddb3df73dd5f39c8fdaab0dbab5 100644 (file)
@@ -29,7 +29,7 @@ The easiest way to use the stylesheet is to include it in the .kvtml file:
                }
                tr[languageheader] {
                        color: black;
-                       font-size: 130%;
+                       font-size: 1.5em;
                        background-color: lightblue;
                }
                .comment {
@@ -52,11 +52,16 @@ The easiest way to use the stylesheet is to include it in the .kvtml file:
 
 
        <xsl:template match="lessons">
+               <xsl:for-each select="lesson">
+                       <a href="#{name}"><xsl:value-of select="name"/></a>
+                       <br/>
+               </xsl:for-each>
+
                <xsl:apply-templates select="lesson"/>
        </xsl:template>
  
        <xsl:template match="lesson">
-               <h3>Lesson: <xsl:value-of select="name"/></h3>
+               <h3>Lesson: <a name="{name}"><xsl:value-of select="name"/></a></h3>
                <table border="1">
                        <tr languageheader="true">
                                <xsl:apply-templates select="/kvtml/identifiers"/>