forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/stylesheets/aggregates doc2doc-uniqueids.xsl
Date Sun, 31 Aug 2003 09:48:20 GMT
jefft       2003/08/31 02:48:20

  Modified:    src/resources/stylesheets/aggregates doc2doc-uniqueids.xsl
  Log:
  Stop <img src="my-images/..."> links from being included in the aggregate page,
  because they cannot be resolved and break the build.
  
  Revision  Changes    Path
  1.3       +3 -0      xml-forrest/src/resources/stylesheets/aggregates/doc2doc-uniqueids.xsl
  
  Index: doc2doc-uniqueids.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/stylesheets/aggregates/doc2doc-uniqueids.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- doc2doc-uniqueids.xsl	9 Jun 2003 10:50:22 -0000	1.2
  +++ doc2doc-uniqueids.xsl	31 Aug 2003 09:48:20 -0000	1.3
  @@ -23,6 +23,9 @@
       <xsl:attribute name="href"><xsl:text>#</xsl:text><xsl:value-of
select="."/></xsl:attribute>
     </xsl:template>
   
  +  <xsl:template match="section/document//img[starts-with(@src, 'my-images')]">
  +    <!-- Zap my-images/** links, which break as they are not relative to the site root
-->
  +  </xsl:template>
     <xsl:include href="../copyover.xsl"/>
   
   </xsl:stylesheet>
  
  
  

Mime
View raw message