[xml] combining xml trees
- From: Yan Seiner <yan seiner com>
- To: xml gnome org
- Subject: [xml] combining xml trees
- Date: Tue, 19 Sep 2006 05:43:36 -0700
I have an xml tree that looks like this:
The base tree is stored in a file on the local computer. Periodically,
the local computer queries another machine on the network, and receives
a partial update to the main xml tree, say something like this:
The partial tree will not have any new nodes; just new data for already
Is there some clean way to fold the new tree into the old tree without
losing any of the other data?
In the above example, I don't want to lose <root> <xxx> <yyy> but need
to replace <zzz>.
] [Thread Prev