Friday, August 30, 2013

I have two XML documents, identical in structure. If a element value in A is different than B, then it needs to be copied to B (or a copy of B).

UPDATE FOR CLARIFICATION : The element values in A will either be the string "No Change" or something else, indicating a value that needs to be updated in B. That is why I can't just copy the entire document over. If there is "No Change" for an element I don't touch whatever value is already there for the same element in B. If there is anything other than "No Change" then that value gets copied to B. In other words, B's values remain unless there is an updated one in A.


Barry O'Neill


No comments:

Post a Comment