[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: CLARIFICATION - Selectively convert subordinate e
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|