예제 #1
0
        SetXmlNodeAttributes
        (
            XmlNode oXmlNode,
            params String[] asNameValuePairs
        )
        {
            Debug.Assert(oXmlNode != null);
            Debug.Assert(asNameValuePairs != null);
            AssertValid();

            XmlUtil2.SetAttributes(oXmlNode, asNameValuePairs);
        }
예제 #2
0
        AppendXmlNode
        (
            XmlNode oParentXmlNode,
            String sChildName
        )
        {
            Debug.Assert(oParentXmlNode != null);
            Debug.Assert(!String.IsNullOrEmpty(sChildName));
            // AssertValid();

            return(XmlUtil2.AppendNewNode(oParentXmlNode, sChildName,
                                          GraphMLNamespaceUri));
        }