internal static CT_ExternalBook Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_ExternalBook ctObj = new CT_ExternalBook(); ctObj.idField = XmlHelper.ReadString(node.Attributes["id", namespaceManager.LookupNamespace("r")]); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "sheetNames") { ctObj.sheetNamesField = CT_ExternalSheetNames.Parse(childNode, namespaceManager); } else if (childNode.LocalName == "definedNames") { ctObj.definedNamesField = CT_ExternalDefinedNames.Parse(childNode, namespaceManager); } else if (childNode.LocalName == "sheetDataSet") { ctObj.sheetDataSetField = CT_ExternalSheetDataSet.Parse(childNode, namespaceManager); } } return(ctObj); }
internal static CT_ExternalSheetDataSet Parse(XmlNode node, XmlNamespaceManager namespaceManager) { CT_ExternalSheetDataSet ctObj = new CT_ExternalSheetDataSet(); foreach (XmlNode childNode in node.ChildNodes) { ctObj.sheetDataField.Add(CT_ExternalSheetData.Parse(childNode, namespaceManager)); } return(ctObj); }
internal static CT_ExternalSheetDataSet Parse(XmlNode node, XmlNamespaceManager namespaceManager) { CT_ExternalSheetDataSet ctObj = new CT_ExternalSheetDataSet(); foreach (XmlNode childNode in node.ChildNodes) { ctObj.sheetDataField.Add(CT_ExternalSheetData.Parse(childNode, namespaceManager)); } return ctObj; }