[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] selecting everything below a node


Subject: RE: [xsl] selecting everything below a node
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 6 Aug 2003 16:55:32 +0100

<xsl:copy-of select="//content"/>

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Jorg Heymans
> Sent: 06 August 2003 15:43
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: [xsl] selecting everything below a node
> 
> 
> Hi list,
>  
> Given following xml
>  
> <aggregate>
> <request>
> many children here
> </request>
> <content>
> ...many children here
> </content>
> </aggregate>
>  
> How do I extract the whole <content> tree (nodes + 
> attributes) into a different document?
>  
>  
> Regards
> Jorg
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml