Darren Wheatley wrote:
Hi
The added ripple here is that I have other instances of
these elements that I want to process rather than just
convert to text
Use a mode then:
<xsl:template match="widget">
<xsl:copy>
<xsl:apply-templates select="node()" mode="widget-to-text"/>
</xsl:copy>
</xsl:template>
<xsl:template match="*|text()" mode="widget-to-text">
<xsl:value-of select="."/>
</xsl:template>
<xsl:template match="HIDDEN" mode="widget-to-text">
<xsl:copy-of select="."/>
</xsl:template>
Regards,
--drkm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--