This is an improved replacement for XmlUtil, which should not be used in new projects.
SetXmlNodeAttributes ( XmlNode oXmlNode, params String[] asNameValuePairs ) { Debug.Assert(oXmlNode != null); Debug.Assert(asNameValuePairs != null); AssertValid(); XmlUtil2.SetAttributes(oXmlNode, asNameValuePairs); }
AppendXmlNode ( XmlNode oParentXmlNode, String sChildName ) { Debug.Assert(oParentXmlNode != null); Debug.Assert(!String.IsNullOrEmpty(sChildName)); // AssertValid(); return(XmlUtil2.AppendNewNode(oParentXmlNode, sChildName, GraphMLNamespaceUri)); }