Method | Description | |
---|---|---|
Create ( Stream html, |
Creates a new DomDocument (or derived) object.
|
|
Create ( string html, HtmlParsingMode parsingMode = HtmlParsingMode.Auto, HtmlParsingOptions parsingOptions = HtmlParsingOptions.Default, DocType docType = DocType.Default ) : IDomDocument |
Creates a new DomDocument (or derived) object
|
|
CreateDocFragment ( string html, string context = null, DocType docType = DocType.Default ) : IDomDocument |
Creates a new fragment in a given context.
|
public static Create ( Stream html, |
||
html | Stream | /// The HTML source for the document. /// |
encoding | /// (optional) the character set encoding. /// | |
parsingMode | HtmlParsingMode | /// (optional) the HTML parsing mode. /// |
parsingOptions | HtmlParsingOptions | /// (optional) options for controlling the parsing. /// |
docType | DocType | /// The DocType for this document. /// |
return | IDomDocument |
public static Create ( string html, HtmlParsingMode parsingMode = HtmlParsingMode.Auto, HtmlParsingOptions parsingOptions = HtmlParsingOptions.Default, DocType docType = DocType.Default ) : IDomDocument | ||
html | string | /// The HTML source for the document /// |
parsingMode | HtmlParsingMode | /// (optional) the parsing mode. /// |
parsingOptions | HtmlParsingOptions | /// (optional) options for controlling the parsing. /// |
docType | DocType | /// The DocType for this document. /// |
return | IDomDocument |
public static CreateDocFragment ( string html, string context = null, DocType docType = DocType.Default ) : IDomDocument | ||
html | string | /// The elements. /// |
context | string | /// (optional) the context. If omitted, will be automatically determined. /// |
docType | DocType | /// (optional) type of the document. /// |
return | IDomDocument |