Hi, I have code that is generating and XML Document using the C++ DOM Parser/Serializer. In my code I create a node via the DOMDocument->createElement() call. I manipulate this node as needed (setting attributes, adding children, etc...) and then append it to a parent node. All of this code is being done in a loop that runs for a varying number of times.
Do I need to release the node after I append it to the parent each time through the loop? Right now I simply relese the entire document after I write it out to a file...... Or do I need to do something like save the nodes in an array and then walk the array after all have been processed to append each one to the document to make sure I am not overlaying the node address each time through the loop ?? I am asking this because I am getting some memory errors when my loop ends and I think it is because the memory associated with the nodes is "invalid" or someting; Fran
