mscproj
asked on
How to replace a DOM subtree by Microsoft SDK
I have an xml document like:
<MyData>
<Data>
<ID>abc</ID>
<Name>Peter</Name>
<Telephone>1111</Telephone >
</Data>
<Data>
<ID>abc</ID>
<Name>Peter</Name>
<Telephone>2222</Telephone >
</Data>
....
....
</MyData>
And I want to modify a subtree of <Data> with ID=abc.
How can I do so on Microsoft SDK.
Of course, I have the new value of Name and Telephone
Thanks!
<MyData>
<Data>
<ID>abc</ID>
<Name>Peter</Name>
<Telephone>1111</Telephone
</Data>
<Data>
<ID>abc</ID>
<Name>Peter</Name>
<Telephone>2222</Telephone
</Data>
....
....
</MyData>
And I want to modify a subtree of <Data> with ID=abc.
How can I do so on Microsoft SDK.
Of course, I have the new value of Name and Telephone
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
moondancer, he gave no feedback, question was pretty vague.
Agreed, but have finalize it nonetheless. I'd request tht you respond, in the event Asker does return.
Thanks,
Moondancer - EE Moderator
Thanks,
Moondancer - EE Moderator
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you. You must tell the participants why you wish to do this, and allow for Expert response.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question. Again, you must tell the other participants why you wish to do this.
For special handling needs, please post a zero point question in the link below, include the question QID/link.
https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
Please click this Help Desk link for Member Guidelines, Member Agreement and the Question/Answer process: Click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues.
https://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp
PLEASE DO NOT AWARD THE POINTS TO ME.
------------> EXPERTS:
Please leave any comments regarding this question here on closing recommendations if this item remains inactive another three days.
Thank you everyone.
Moondancer
Moderator @ Experts Exchange
P.S. For year 2000 question, special attention is needed to ensure the first correct response is awarded, since they are not in the comment date order, but rather in Member ID order.
https://www.experts-exchange.com/jsp/qShow.jsp?qid=11916758
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20065262
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20067556
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20164373
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20245406