Re: [xsl] Is it possible to modify the source-tree?

Subject: Re: [xsl] Is it possible to modify the source-tree?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 12 Sep 2005 23:01:56 +0100
>  I know we can use <xsl:copy-of> to modify the result tree. Is it possible to copy a portion of
> the source tree on to a node in the source itself 

No the source tree may not be changed in any way. what you can do is
first do one transform that copies the branch of the tree, then use a
second transform that processes the new tree. Using an xx:node-set
extension (orxslt2) you can do both transformations within a single
stylesheet.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread