[prev in list] [next in list] [prev in thread] [next in thread] 

List:       forrest-svn
Subject:    svn commit: r329460 -
From:       rgardler () apache ! org
Date:       2005-10-29 18:04:27
Message-ID: 20051029180429.10382.qmail () minotaur ! apache ! org
[Download RAW message or body]

Author: rgardler
Date: Sat Oct 29 11:04:18 2005
New Revision: 329460

URL: http://svn.apache.org/viewcvs?rev=329460&view=rev
Log:
handle documnet nodes that have only links as children

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-siteSnippet.xsl


Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-siteSnippet.xsl
                
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest \
.plugin.input.Daisy/resources/stylesheets/navigation-to-siteSnippet.xsl?rev=329460&r1=329459&r2=329460&view=diff
 ==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-siteSnippet.xsl \
                (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-siteSnippet.xsl \
Sat Oct 29 11:04:18 2005 @@ -42,6 +42,16 @@
           <xsl:apply-templates/>
         </group>
       </xsl:when>
+      <xsl:when test="d:link">
+        <group>
+          <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
+          <xsl:attribute name="label"><xsl:value-of \
select="@label"/></xsl:attribute> +          <xsl:if test="@nodeId">
+            <xsl:attribute name="href"><xsl:value-of \
select="@nodeId"/>/</xsl:attribute> +          </xsl:if>
+          <xsl:apply-templates/>
+        </group>
+      </xsl:when>
       <xsl:otherwise>
         <doc>
           <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic