Re: [xsl] Stripping or converting HTML tags

Subject: Re: [xsl] Stripping or converting HTML tags
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 19 Oct 2004 17:20:14 +0100
sorry you do want to pick up character data in td not just elements so

<xsl:template match="xhtml:th|xhtml:td">
 <xsl:text> </xsl:text><xsl:apply-templates select="*"/><xsl:text> </xsl:text>
</xsl:templates>

should be


<xsl:template match="xhtml:th|xhtml:td">
 <xsl:text> </xsl:text><xsl:apply-templates/><xsl:text> </xsl:text>
</xsl:templates>

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread