donaldp 2002/11/18 15:59:01 Added: src/documentation/resources/stylesheets avfilterlinks.xsl Log: Add in xsl sheet to filter links out that we should not traverse Revision Changes Path 1.1 jakarta-avalon-phoenix/src/documentation/resources/stylesheets/avfilterlinks.xsl Index: avfilterlinks.xsl =================================================================== <?xml version="1.0"?> <!-- This stylesheet filters all references to the javadocs and the samples. --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="@src|@href|@background"> <xsl:if test="not(contains(., '/api/')) and not(starts-with(., 'api/'))"> <xsl:copy> <xsl:apply-templates select="."/> </xsl:copy> </xsl:if> </xsl:template> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>