RE: [xsl] XSL and DOM

Subject: RE: [xsl] XSL and DOM
From: Paramdeep Ahuja <paahuja@xxxxxxxxxxx>
Date: Fri, 6 Jun 2003 10:36:15 +0530
ok can u take my problem this way : I have a DOM tree and I want to apply
some transformation on that DOM tree...the changes should be done on the
same tree instead of generating a new tree...is it possible to do this??

-----Original Message-----
From: david_n_bertoni@xxxxxxxxxx [mailto:david_n_bertoni@xxxxxxxxxx]
Sent: Friday, June 06, 2003 10:28 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] XSL and DOM






Paramdeep Ahuja <paahuja@xxxxxxxxxxx> wrote:
> XSL transforms a source DOM tree into a target DOM Tree separate from the
> source.

Neither the source tree nor the result tree is necessarily an instance of
the DOM.  In fact, the result tree often is not materialized, as many XSLT
processors serialize the result of the transformation as it is being
generated.

> Is it possible to apply the transformation on only a part of the
> source DOM Tree and the changes be done in the same tree itself rather
than
> create a new DOM Tree as XSLT does

It is possible to apply a transformation to part of the source tree, but no
XSLT processor I know of modifies the source tree in-place.  In fact, such
behavior is not allowed in a conformant XSLT processor.

> I wanted to know if this can be done through some tool developed in Xalan
C++

No, it cannot.

Dave


 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