Esempio n. 1
0
            /*********************************************************************/
            public Element(HtmlToXml objParser, string strName)
            {
                m_strName = HtmlToXml.FormatName(strName, false);

                if (m_strName != "__" && m_strName == "")
                {
                    throw new Exception("Illegal Element name: \"" + strName + "\"");
                }

                m_strName   = strName;
                m_objParser = objParser;
            }
Esempio n. 2
0
 /*********************************************************************/
 public Attribute(string strName, string strValue)
 {
     m_strName  = HtmlToXml.FormatName(strName, true);
     m_strValue = strValue;
 }