Subject: AW: [xsl] selecting everything below a node From: Markus Abt <abt@xxxxxxxx> Date: Wed, 6 Aug 2003 17:19:26 +0200 |
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@xxxxxxxxxxxxxxxxxxxxxx' 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: AW: AW: [xsl] Using key() from , David Carlisle | Thread | AW: [xsl] selecting everything belo, Markus Abt |
RE: [xsl] selecting everything belo, cknell | Date | RE: RE: [xsl] SQL SELECT statement , cknell |
Month |