The XhtmlDocument type exposes the following members.

Constructors

  NameDescription
Public methodXhtmlDocument()()()()
Constructs an empty XhtmlDocument
Public methodXhtmlDocument(XDocument)
Constructs a XhtmlDocument based on an existing XDocument
Public methodXhtmlDocument(XElement)
Constructs a XhtmlDocument based on an existing html element

Methods

  NameDescription
Public methodStatic memberParse(String)
Parses a serialized xhtml document and returns XhtmlDocument.
Public methodStatic memberParse(String, LoadOptions)
Parses a serialized xhtml document and returns XhtmlDocument.
Public methodStatic memberParseXhtmlFragment
Parses an xhtml fragment of into an XhtmlDocument.

Properties

  NameDescription
Public propertyBody
The body element for the XHTML Document
Public propertyHead
The head element for the XHTML Document
Public propertyIsEmpty
Returns true if the XhtmlDocument has empty head and body sections.

See Also