Example #1
0
        public static XDom LoadXml(XmlNode node)
        {
            XDom temp = new XDom();

            foreach(XmlAttribute a in node.Attributes)
                temp.Add(a.Name, a.Value);

            foreach (XmlNode n in node.ChildNodes)
                temp.Add(n.Name, n.InnerXml);

            return temp;
        }
Example #2
0
        public static XDom LoadXml(XmlNode node)
        {
            XDom temp = new XDom();

            foreach (XmlAttribute a in node.Attributes)
            {
                temp.Add(a.Name, a.Value);
            }

            foreach (XmlNode n in node.ChildNodes)
            {
                temp.Add(n.Name, n.InnerXml);
            }

            return(temp);
        }
Example #3
0
        public static XDom LoadOps(string opsXml)
        {
            XDom temp = new XDom();
            temp.Add(opsXml);

            return temp;
        }
Example #4
0
        public static XDom LoadOps(string opsXml)
        {
            XDom temp = new XDom();

            temp.Add(opsXml);

            return(temp);
        }