forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r168318 - /forrest/trunk/main/webapp/resources/stylesheets/linkmap2document.xsl
Date Thu, 05 May 2005 11:35:48 GMT
Author: rgardler
Date: Thu May  5 04:35:48 2005
New Revision: 168318

URL: http://svn.apache.org/viewcvs?rev=168318&view=rev
Log:
correct nesting of li elements

Modified:
    forrest/trunk/main/webapp/resources/stylesheets/linkmap2document.xsl

Modified: forrest/trunk/main/webapp/resources/stylesheets/linkmap2document.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/stylesheets/linkmap2document.xsl?rev=168318&r1=168317&r2=168318&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/linkmap2document.xsl (original)
+++ forrest/trunk/main/webapp/resources/stylesheets/linkmap2document.xsl Thu May  5 04:35:48
2005
@@ -39,15 +39,17 @@
 
      <xsl:template match="*">
         <xsl:if test="@label">
-          <li><a href="{@href}"><xsl:value-of select="@label" /></a>&#160;&#160;&#160;_________________________&#160;&#160;<em><xsl:value-of
select="name(.)" /></em></li>
+          <ul>
+            <li><a href="{@href}"><xsl:value-of select="@label" /></a>&#160;&#160;&#160;_________________________&#160;&#160;<em><xsl:value-of
select="name(.)" /></em></li>
+
+            <xsl:if test="*">
+              <ul> 
+                <xsl:apply-templates/>        
+              </ul>
+            </xsl:if>
+          </ul>
         </xsl:if>
-        
-        <xsl:if test="*">
-         <ul> 
-	     <xsl:apply-templates/>        
-         </ul>
-        </xsl:if>
-        
+            
      </xsl:template>
 
 </xsl:stylesheet>



Mime
View raw message