"Paul Tan" <[EMAIL PROTECTED]> writes:

> I would like to know how to use Xerces XML DOM API to modify intermediate
> DOM_Node (e.g "Pauline's hobby") efficiently ? Initially I attemptted to
> remove it and then add it (modify version) again ....and when I finally
> write to the file, the modified DOM_Node get added at the bottom ....

No need to remove the node. Just find it, and modify it. appendChild()
does just that appends a node to the end of the child list. If you
want to position a node at a specific point you need to use
insertBefore().

jas.

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

Reply via email to