The XmlHelper is a static class containing methods to complete a number of common tasks while working with XmlDocuments.
View on GitHub Updated to be used with .NET Core
Creates an empty XmlDocument object with an Xml Declaration assigned as version 1.0 encoding UTF-8 AddRootNode
Create a root node on a given document AddAttrib
Adds the Named attribute with a given value to an existing Node, returns a link to the new attribute created.