xsl-list
[Top] [All Lists]

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

2006-06-15 05:12:36
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 sollicités 
http://mail.yahoo.fr 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>
--~--

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