Exemplo n.º 1
0
        public static CT_Extension Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_Extension ctObj = new CT_Extension();

            ctObj.uri = XmlHelper.ReadString(node.Attributes["uri"]);
            ctObj.Any = node.InnerXml;
            return(ctObj);
        }
Exemplo n.º 2
0
        public static CT_Extension Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_Extension ctObj = new CT_Extension();

            ctObj.uri = XmlHelper.ReadString(node.Attributes["uri"]);
            //foreach (XmlNode childNode in node.ChildNodes)
            //{
            //    if (childNode.LocalName == "Any")
            //        ctObj.Any = XmlElement.Parse(childNode, namespaceManager);
            //}
            return(ctObj);
        }
Exemplo n.º 3
0
        public static CT_ExtensionList Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_ExtensionList ctObj = new CT_ExtensionList();

            ctObj.ext = new List <CT_Extension>();
            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "ext")
                {
                    ctObj.ext.Add(CT_Extension.Parse(childNode, namespaceManager));
                }
            }
            return(ctObj);
        }
Exemplo n.º 4
0
 public static CT_Extension Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_Extension ctObj = new CT_Extension();
     ctObj.uri = XmlHelper.ReadString(node.Attributes["uri"]);
     ctObj.Any = node.InnerXml;
     return ctObj;
 }
Exemplo n.º 5
0
 public static CT_Extension Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_Extension ctObj = new CT_Extension();
     ctObj.uri = XmlHelper.ReadString(node.Attributes["uri"]);
     //foreach (XmlNode childNode in node.ChildNodes)
     //{
     //    if (childNode.LocalName == "Any")
     //        ctObj.Any = XmlElement.Parse(childNode, namespaceManager);
     //}
     return ctObj;
 }