You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2003/08/31 11:48:20 UTC
cvs commit: xml-forrest/src/resources/stylesheets/aggregates doc2doc-uniqueids.xsl
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>