P
Peter
Hi,
If I use the following code, there is a attribute.
XmlDocument doc = new XmlDocument();
doc.LoadXml("<item id='301'>Pink Ale Beer</item>");
If I code the 2nd line as below:
doc.LoadXml("<item>Pink Ale Beer</item>");
My question is how to add the attribute after that.
Please advice. Thanks.
Peter
If I use the following code, there is a attribute.
XmlDocument doc = new XmlDocument();
doc.LoadXml("<item id='301'>Pink Ale Beer</item>");
If I code the 2nd line as below:
doc.LoadXml("<item>Pink Ale Beer</item>");
My question is how to add the attribute after that.
Please advice. Thanks.
Peter