Hi Jorg,
if you don't want to modify parts of it, you can use:
<xsl:copy-of select="/aggregate/content"/>
Adjust the xpath to your needs.
If you want to modify some nodes, use the identity transformation:
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>
Then use specific templates to do the modifications.
Regards,
Markus
__________________________
Markus Abt
Comet Computer GmbH
http://www.comet.de
----------
Von: Jorg Heymans
Gesendet: Mittwoch, 6. August 2003 16:43
An: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
Betreff: [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