Updating an XmlDocument
How do you update an XmlAttribute in an XmlDocument? It is easy to create and add new nodes to an XmlDocument, and it is easy to load a current document. But you do you make changes to the nodes and Attributes?
[212 byte] By [
hoyaabanks] at [2007-11-11 8:37:22]

# 1 Re: Updating an XmlDocument
load the XML document and use a XML DOM parser to find the attribute you want,
and use :
x =getElementsByTagName("note");
x.item(0).setAttribute("attributeName","newValue");
dose this work?