avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: avalon/src/documentation/resources/stylesheets filterlinks.xsl
Date Tue, 08 Apr 2003 12:47:49 GMT
jefft       2003/04/08 05:47:49

  Added:       src/documentation/resources/stylesheets filterlinks.xsl
  Stop Cocoon from crawling links to api/*, which should get Fortress docs
  building again.
  Revision  Changes    Path
  1.1                  avalon/src/documentation/resources/stylesheets/filterlinks.xsl
  Index: filterlinks.xsl
  <?xml version="1.0"?>
  This stylesheet is used by Forrest to filter out all references to the
  javadocs, and in general, any links we don't want Forrest to 'crawl'.
  In CVS Forrest, nothing further should be needed.  In 0.4, Forrest didn't allow
  filterlinks.xsl to be overridden like this, so this file should be copied to
  $FORREST_HOME/context/library/xslt/, overwriting the file already there.
    <xsl:template match="@src|@href|@background">
      <!-- Add other URLs to filter out here -->
      <xsl:if test="not(contains(.,'api/'))">
          <xsl:apply-templates select="."/>
    <xsl:template match="@*|node()">
        <xsl:apply-templates select="@*|node()"/>

To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org

View raw message