The XhtmlDocument type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| XhtmlDocument()()()() |
Constructs an empty XhtmlDocument
| |
| XhtmlDocument(XDocument) |
Constructs a XhtmlDocument based on an existing XDocument
| |
| XhtmlDocument(XElement) |
Constructs a XhtmlDocument based on an existing html element
|
Methods
| Name | Description | |
|---|---|---|
| Parse(String) |
Parses a serialized xhtml document and returns XhtmlDocument.
| |
| Parse(String, LoadOptions) |
Parses a serialized xhtml document and returns XhtmlDocument.
| |
| ParseXhtmlFragment |
Parses an xhtml fragment of into an XhtmlDocument.
|
Properties
| Name | Description | |
|---|---|---|
| Body |
The body element for the XHTML Document
| |
| Head |
The head element for the XHTML Document
| |
| IsEmpty |
Returns true if the XhtmlDocument has empty head and body sections.
|