Author: rgardler
Date: Thu Nov 10 03:31:32 2005
New Revision: 332275

URL: http://svn.apache.org/viewcvs?rev=332275&view=rev
Log:
ignore path names with only included items

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

Modified: 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-includes.xsl
URL: 
http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-includes.xsl?rev=332275&r1=332274&r2=332275&view=diff
==============================================================================
--- 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-includes.xsl
 (original)
+++ 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/navigation-to-includes.xsl
 Thu Nov 10 03:31:32 2005
@@ -31,6 +31,11 @@
     <xsl:apply-templates/>
   </xsl:template>
   
+  <xsl:template match="d:group[d:import]">
+    <!-- ignore groups with only imports -->
+    <xsl:apply-templates/>
+  </xsl:template>
+  
   <xsl:template match="d:import">
     <xi:include>
       <xsl:attribute name="href"><xsl:value-of 
select="$publisherURL"/>blob?documentId=<xsl:value-of 
select="@docId"/>&amp;version=live&amp;partType=1</xsl:attribute>


Reply via email to