How do I append elements with duplicate names using MSXML & C++?
问题 I am write some code to update a XML DOM using MSXML4 & C++. I need a method that appends a child element to a parent element. The code I have written below works until the title of the child matches the title of another child under the parent. I cannot change the title of the children so I need to find a way to append them to the parent. Can anyone provide some guidance? // this call creates '<parent><child/></parent>' AppendChild("/root/parent", "child"); // this call attempts to create '