]> granicus.if.org Git - docbook-dsssl/commitdiff
Website tracker #518864: make sure lists are valid HTML
authorNorman Walsh <ndw@nwalsh.com>
Fri, 24 May 2002 11:58:27 +0000 (11:58 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 24 May 2002 11:58:27 +0000 (11:58 +0000)
website/xsl/xbel.xsl

index c8259c58cc7660a953cb2e64c201ac78e319364c..6f75cd7cce066644cb7a04c5e39af5e56df11058 100644 (file)
 </xsl:template>
 
 <xsl:template match="folder">
-  <li><xsl:apply-templates select="title"/></li>
-  <ul>
-    <xsl:apply-templates select="folder|bookmark"/>
-  </ul>
+  <li>
+    <xsl:apply-templates select="title"/>
+    <ul>
+      <xsl:apply-templates select="folder|bookmark"/>
+    </ul>
+  </li>
 </xsl:template>
 
 <xsl:template match="folder/title">
 </xsl:template>
 
 <xsl:template match="folder" mode="dynamic">
-  <li><xsl:apply-templates select="title" mode="dynamic"/></li>
-  <ul style="display:none" id="{@id}">
-    <xsl:apply-templates select="folder|bookmark" mode="dynamic"/>
-  </ul>
+  <li>
+    <xsl:apply-templates select="title" mode="dynamic"/>
+    <ul style="display:none" id="{@id}">
+      <xsl:apply-templates select="folder|bookmark" mode="dynamic"/>
+    </ul>
+  </li>
 </xsl:template>
 
 <xsl:template match="folder/title" mode="dynamic">