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; }
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; }