Exemple #1
0
        public static DOMContainer Parse(string HTML, bool CaptureWhitespace = false, Transformations transforms = Transformations.None)
        {
            HTMLParser hsr = new HTMLParser(HTML, CaptureWhitespace, transforms, true);

            return(hsr.Results);
        }
Exemple #2
0
        public static List <DOMElement> ParseRaw(string HTML, bool CaptureWhitespace = false, Transformations transforms = Transformations.None)
        {
            HTMLParser hsr = new HTMLParser(HTML, CaptureWhitespace, transforms, false);

            return(hsr.RawResults);
        }