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

            if (node.Attributes["w:val"] != null)
            {
                ctObj.val = (ST_SectionMark)Enum.Parse(typeof(ST_SectionMark), node.Attributes["w:val"].Value);
            }
            return(ctObj);
        }
Exemplo n.º 2
0
 public static CT_SectType Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_SectType ctObj = new CT_SectType();
     if (node.Attributes["w:val"] != null)
         ctObj.val = (ST_SectionMark)Enum.Parse(typeof(ST_SectionMark), node.Attributes["w:val"].Value);
     return ctObj;
 }