How do I add a new XmlElement to an existing XmlNodeList?



I have an existing XmlNodeList created using this code: XmlNodeList nodes = xmlDocument.SelectNodes(XPathStatement);


I want to add an XmlElement to the above list. I don't see any methods on nodes that allow this operation. How do I add the XmlElement to the XmlNodeList?


No comments:

Post a Comment