示例#1
0
 public static string ToXml(string html, Options options = Options.Default)
 {
     var parser = new XHTML();
     return parser.Process(html, options);
 }
示例#2
0
 public static Form[] GetForms(string html)
 {
     return(XDocument.Parse(XHTML.ToXml(html)).GetForms());
 }
示例#3
0
        public static string ToXml(string html, Options options = Options.Default)
        {
            var parser = new XHTML();

            return(parser.Process(html, options));
        }