This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: maintaining pointer to original doc
- From: Dimitre Novatchev <dnovatchev at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sun, 22 Sep 2002 10:54:07 -0700 (PDT)
- Subject: [xsl] Re: maintaining pointer to original doc
- Reply-to: xsl-list at lists dot mulberrytech dot com
--- Bruce Gagnon <bgagnon at lucent dot com> wrote:
> Hi,
>
> I'm attempting to create an xml sub-tree from an xml doc using
> copy-of.
>
> I'm running a transform and I get the subtree but if I make changes
> on
> this subtree doc it has no impact on the original doc. I assume that
> it's
> because I'm using copy-of. Is there another way of getting a subtree
> without
> loosing access to the original doc thru the subtree doc?
>
> Thanks,
> Bruce
Bruce,
XSLT is a functional language and among other things this means that
there's no "update in place" in this language. Whenever changes of
"something" are made, they are made on copies of the original
"something".
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list