Esempio n. 1
0
 public static CT_MultiLvlStrData Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_MultiLvlStrData ctObj = new CT_MultiLvlStrData();
     ctObj.lvl = new List<CT_StrVal>();
     ctObj.extLst = new List<CT_Extension>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "ptCount")
             ctObj.ptCount = CT_UnsignedInt.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "lvl")
             ctObj.lvl.Add(CT_StrVal.Parse(childNode, namespaceManager));
         else if (childNode.LocalName == "extLst")
             ctObj.extLst.Add(CT_Extension.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }
Esempio n. 2
0
 public CT_MultiLvlStrRef()
 {
     this.extLstField = new List<CT_Extension>();
     this.multiLvlStrCacheField = new CT_MultiLvlStrData();
 }