/*********************************************************************/ 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; }
/*********************************************************************/ public Attribute(string strName, string strValue) { m_strName = HtmlToXml.FormatName(strName, true); m_strValue = strValue; }