xsl-list
[Top] [All Lists]

RE: selecting everything below a node

2003-08-06 08:15:28
<xsl:template match="aggregate">
  <xsl:copy-of select="content" />
</xsl:template>
-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Jorg Heymans <Jorg(_dot_)Heymans(_at_)12snap(_dot_)com>
Sent:     Wed, 6 Aug 2003 15:43:15 +0100
To:       "'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'" 
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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