xsl-list
[Top] [All Lists]

Re: Stripping or converting HTML tags

2004-10-19 09:20:14

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
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>