Hello Hal,

On Tuesday 17 July 2001 12:06, you wrote:
> >>>>> On Tue, 17 Jul 2001, "Rolf" == Rolf Jakob wrote:
>
>   Rolf> For an XML editing application I would like to copy a
>   Rolf> node from one DOM to another.
>
> I have advice for using the DOM (in any implementation) for
> XML editing applications:
>
>         Don't

Sounds like you got frustrated while trying to use it then.

Fortunately I have some time for that application and I do it more or less 
for myself - at least in the first step.

It should assist me in creating a documentation with lots of templates which 
in turn are created from plain text files. So this was a quite boring job and 
I want to have something that makes it easier.
The source text files are given and the resulting XML therefor is so 
predictable and the copy rules are set so that I know that the edited XML 
will be compliant to the description.

For a generic XML editor with a copy function using just any XML files this 
would be far more complicated. But luckily I don't need this (yet).

I could solve my problem with target_document::importNode() without much 
cheating (I used doc.setErrorChecking(false) for some time ;)

Rolf

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to