James Britt
7/11/2006 5:12:00 PM
Erling Jepsen wrote:
> Hello,
>
> I have two xml files which are identical almost identical. #1 holds all
> possible values to the application. #2 holds a selected subset of values
> which should overwrite the values of the first where identical.
You could iterate over the second list and use the value of the 'key'
attribute to construct an XPath to the matching item in the first list.
Then either replace the elements, or grab the value and use it update
the other list.
--
James Britt
"Judge a man by his questions, rather than his answers."
- Voltaire