jefft 2003/02/22 06:29:31
Modified: src/documentation/resources/stylesheets avfilterlinks.xsl
Log:
Filter out the '..' link in skinconf.xml
Revision Changes Path
1.2 +4 -3
avalon-phoenix/src/documentation/resources/stylesheets/avfilterlinks.xsl
Index: avfilterlinks.xsl
===================================================================
RCS file:
/home/cvs/avalon-phoenix/src/documentation/resources/stylesheets/avfilterlinks.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- avfilterlinks.xsl 18 Nov 2002 23:59:01 -0000 1.1
+++ avfilterlinks.xsl 22 Feb 2003 14:29:31 -0000 1.2
@@ -1,8 +1,9 @@
<?xml version="1.0"?>
<!--
-This stylesheet filters all references to the javadocs
-and the samples.
+This stylesheet filters all references to the javadocs, the samples, and any
+other links that shouldn't be traversed. It is referenced from the customized
+sitemap.
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@ -10,7 +11,7 @@
<xsl:template match="@src|@href|@background">
<xsl:if test="not(contains(., '/api/')) and
- not(starts-with(., 'api/'))">
+ not(starts-with(., 'api/')) and not(. = '..')">
<xsl:copy>
<xsl:apply-templates select="."/>
</xsl:copy>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]