forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject svn commit: rev 10644 - xml/forrest/trunk/src/core/context/resources/stylesheets/aggregates
Date Fri, 14 May 2004 13:59:18 GMT
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 -->

Mime
View raw message