Acrux Html Parser Documentation
HtmlDocument Class
NamespacesAcrux.HtmlHtmlDocument
Represents an HTML document.
Declaration Syntax
C#Visual BasicVisual C++
public sealed class HtmlDocument : HtmlNode
Public NotInheritable Class HtmlDocument _
	Inherits HtmlNode
public ref class HtmlDocument sealed : public HtmlNode
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
HtmlDocument()()()
Creates a new instance of an HTML document.

Attributes
Gets an HtmlAttributeCollection containing the attributes of this node.
(Inherited from HtmlNode.)
BaseURI
Returns the base URI of the current node.
(Inherited from HtmlNode.)
BodyElement
Returns the <body> element in the document or null if no document has been loaded yet. The <body> element of a loaded document will always exist even if the parsed content does not explicitely define it.

ChildNodes
Gets all the child nodes of the current node.
(Inherited from HtmlNode.)
ContentEncoding
The encoding of the HTML document. If the encoding was not determined by the byte-order mark then UTF8 is used.

CreateNavigator()()()
Creates an System.Xml.XPath.XPathNavigator for navigating this object
(Inherited from HtmlNode.)
DocumentType
Returns the <!DOCTYPE> element in the document of a loaded document if defined.

Equals(Object)
Determines whether the specified Acrux.Html object is equal to the current Acrux.Html object.
(Inherited from HtmlNode.)
EvaluateXPath(String)
Evaluates the XPath expression and retuns the typed result
(Inherited from HtmlNode.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FirstChild
Gets the first child of the node.
(Inherited from HtmlNode.)
GetEnumerator()()()
Returns an enumerator that itterates through the children colletion of the current HtmlNode.
(Inherited from HtmlNode.)
GetHashCode()()()
Serves as a hash function for a particualr type
(Inherited from HtmlNode.)
GetNamespaceOfPrefix(String)
Looks up the closest xmlns declaration for the given prefix that is in scope for the current node and returns the namespace URI in the declaration.

Standard HTML nodes will always have the default namespace to simplify XPath queries even if an xmlns is explicitely specified in XHTML documents.
For all non-standard HTML 4.01 elements that define an xmlns, NamespaceURI will return the namespace URI.
(Inherited from HtmlNode.)
GetPrefixOfNamespace(String)
Looks up the closest xmlns declaration for the given namespace URI that is in scope for the current node and returns the prefix defined in the declaration.

Standard HTML nodes will always have the default namespace to simplify XPath queries even if an xmlns is explicitely specified in XHTML documents.
For all non-standard HTML 4.01 elements that define an xmlns, NamespaceURI will return the namespace URI.
(Inherited from HtmlNode.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HasChildNodes
Gets a value indicating whether this node has any child nodes.
(Inherited from HtmlNode.)
HeadElement
Returns the <head> element in the document or null if no document has been loaded yet. The <head> element of a loaded document will always exist even if the parsed content does not explicitely define it.

HtmlElement
Returns the <html> element in the document or null if no document has been loaded yet. The <html> element of a loaded document will always exist even if the parsed content does not explicitely define it.

InnerText
Gets the concatinated values of the node and all its child nodes.
(Inherited from HtmlNode.)
InnerXml (Inherited from HtmlNode.)
IsReadOnly
Gets a value indicating whether the current is read only. Returns false if the node can be modified.
(Inherited from HtmlNode.)
LastChild
Gets the last child of the current node.
(Inherited from HtmlNode.)
Load(String)
Loads an HTML document from a local file.

Load(Stream)
Loads an HTML document from a stream.

Load(Uri)
Loads an HTML document using HttpWebRequest or opening the file directly for a 'file' schema.

LoadHtml(String)
Loads the HTML document from the specified string.

LocalName
Gets the local name of the node.
(Inherited from HtmlNode.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets the qualified name of the node.
(Inherited from HtmlNode.)
NamespaceURI
Gets the namespace URI of the node.

Standard HTML nodes will always have the default namespace to simplify XPath queries even if an xmlns is explicitely specified in XHTML documents.
For all non-standard HTML 4.01 elements that define an xmlns, NamespaceURI will return the namespace URI.
(Inherited from HtmlNode.)
NextSibling
Gets the node immediately following this node.
(Inherited from HtmlNode.)
NodeType
Gets the type of the current node.
(Inherited from HtmlNode.)
OnParserWarning
The events is raised when the parser encounters a problem typically due to not well formed or ambigious HTML.

OuterXml
Gets the markup representing the node and all its child nodes.
(Inherited from HtmlNode.)
OwnerDocument
Gets the Acrux.HtmlDocument to which this node belongs.
(Inherited from HtmlNode.)
ParentNode
Gets the parent of this node (for nodes that can have parents)
(Inherited from HtmlNode.)
Prefix
Gets the namespace prefix for this node.

Standard HTML nodes will always have the default namespace to simplify XPath queries even if an xmlns is explicitely specified in XHTML documents.
For all non-standard HTML 4.01 elements that define an xmlns, NamespaceURI will return the namespace URI.
(Inherited from HtmlNode.)
PreviousSibling
Gets the node immediately preceding this node.
(Inherited from HtmlNode.)
RawHtml
The raw HTML string used to load the document from.

SaveXml(String)
Saved the HTML document as XML file.

SelectNodes(String)
Selects the list of nodes matching the XPath expression.
(Inherited from HtmlNode.)
SelectSingleNode(String)
Selects the first HtmlNode that matches the the XPath expression.
(Inherited from HtmlNode.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Value
Gets or sets the value of the node.
(Inherited from HtmlNode.)
XmlEncoding
For XHTML documents this is the encoding specified in the XML declaration. Otherwise is null.

XPathLocation
The XPathLocation for an HTML document is an empty string.
(Overrides HtmlNode.XPathLocation.)
Inheritance Hierarchy
Object
HtmlNode
 HtmlDocument

Assembly: Acrux.Html (Module: Acrux.Html) Version: 1.0.0.0 (1.0.0.215)