This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
re: mixed content styling problem
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: re: mixed content styling problem
- From: Bill dehOra <wdehora at cromwellmedia dot co dot uk>
- Date: Fri, 26 May 2000 11:13:00 +0100
- Reply-To: xsl-list at mulberrytech dot com
Thaks to all that replied: it was indeed too complicated an approach. The
final cut:
<xsl:template match="A">
<xsl:for-each select="B">
<xsl:if test="@TYPE='PUB' or count(@*)=0">
<H2><xsl:apply-templates select="node()[not(self::C)]"/></H2>
</xsl:if>
</xsl:for-each>
</xsl:template>
cheers,
-Bill
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list