Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

Adding an Attribute to an existing XElement

$
0
0

Hi all,

I have a document that has a large number of element nodes that I need to add an attribute to.  I have found documentation that shows how to add a elements to an exisiting document and remove an elements attributes but nothing that shows how to add an attribute to an existing XElement object.

Seems like there should be an easy way to do this.  Code snippets are appreciated.

Thanks.


Thanks, -ja

Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>