You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by br...@apache.org on 2004/05/14 15:59:18 UTC

svn commit: rev 10644 - xml/forrest/trunk/src/core/context/resources/stylesheets/aggregates

Author: brondsem
Date: Fri May 14 06:59:17 2004
New Revision: 10644

Modified:
   xml/forrest/trunk/src/core/context/resources/stylesheets/aggregates/book2cinclude.xsl
Log:
ignore all non-local links rather than just http[s]

Modified: xml/forrest/trunk/src/core/context/resources/stylesheets/aggregates/book2cinclude.xsl
==============================================================================
--- xml/forrest/trunk/src/core/context/resources/stylesheets/aggregates/book2cinclude.xsl	(original)
+++ xml/forrest/trunk/src/core/context/resources/stylesheets/aggregates/book2cinclude.xsl	Fri May 14 06:59:17 2004
@@ -48,8 +48,7 @@
 
   <xsl:template match="menu-item[@type='hidden']"/>  <!-- Ignore hidden items -->
   <xsl:template match="menu-item[contains(@href, '#')]"/>  <!-- Ignore #frag-id items -->
-  <xsl:template match="menu-item[starts-with(@href, 'http:')]"/>  <!-- Ignore absolute http urls -->
-  <xsl:template match="menu-item[starts-with(@href, 'https:')]"/>  <!-- Ignore absolute https urls -->
+  <xsl:template match="menu-item[contains(@href, ':')]"/>  <!-- Ignore all non-local links -->
   <xsl:template match="menu-item[starts-with(@href, $ignore)]"/>  <!-- Ignore the aggregated pages -->
 
   <!-- Recursive template to collate @href's -->