[xsl] RE : [xsl] selecting the ENTIRE content of a node, including other tags?

Subject: [xsl] RE : [xsl] selecting the ENTIRE content of a node, including other tags?
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Thu, 15 Jun 2006 14:12:05 +0200 (CEST)
Andreas Andersson wrote:

  Hi

> I've tested xsl:copy-of but that will give me the node and it's 
> attributes as well. I've also tested xsl:value-of but that will
> exclude the inner tags.

  The XPath data model doesn't include tags.  If you want to copy all
child nodes (but the attributes):

    <xsl:copy-of select="node()"/>

  Regards,

--drkm



























__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicitis 
http://mail.yahoo.fr Yahoo! Mail 

Current Thread