]> Git trees. - libqmvoc.git/commitdiff
Make the whole thing easier and faster by avoiding one xsl:for-each.
authorFrederik Gladhorn <gladhorn@kde.org>
Tue, 6 Nov 2007 17:10:40 +0000 (17:10 +0000)
committerFrederik Gladhorn <gladhorn@kde.org>
Tue, 6 Nov 2007 17:10:40 +0000 (17:10 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=733549

keduvocdocument/docs/kvtml_html_stylesheet.xsl

index 4ab10fb27f38b994695e9732f2898bafec1ca916..2eb4652168c53e5c424509520d5cda959dd1a73f 100644 (file)
@@ -63,9 +63,7 @@ The easiest way to use the stylesheet is to include it in the .kvtml file:
 
                        <xsl:for-each select="entryid">
                                <xsl:variable name="id" select="."/>
-                               <xsl:for-each select="/kvtml/entries/entry[@id=$id]">
-                                       <xsl:apply-templates select="."/>
-                               </xsl:for-each>
+                               <xsl:apply-templates select="/kvtml/entries/entry[@id=$id]"/>
                        </xsl:for-each> 
                </table>
        </xsl:template>