Hi,
I am using DOM and VBScript to update an XML element.
My question is this, are there many approaches to updating elements?
For example, should I only use setAttribute and/or setAttributeNode functions to update the info, OR should I use cloneNode to create a new element and then replace the old element with the new one?
What are the pro's and cons of the two approaches and are there any others to consider?
Thanks,
MrPeds
I am using DOM and VBScript to update an XML element.
My question is this, are there many approaches to updating elements?
For example, should I only use setAttribute and/or setAttributeNode functions to update the info, OR should I use cloneNode to create a new element and then replace the old element with the new one?
What are the pro's and cons of the two approaches and are there any others to consider?
Thanks,
MrPeds