# Functions

AddAttribute adds an attribute to the node.
AppendAttribute appends the new value to any existing attribute with the same name, separating them with a space.
Attr creates a new Attribute.
CreateNode creates an html Node and sets attributes or adds child nodes according to the type of each value.
FindAllNodes returns all child nodes of any of the given types, in the order in which they are found (a depth-first search).
FindNode is a depth-first search for the first node of the given type.
FindNodes returns all child nodes of the given type.
FindNodesWithAttributes returns all child nodes of the given type with the given attributes.
FindNodeWithAttributes is a depth-first search for the first node of the given type with the given attributes.
GetAttribute finds an attribute for the node - returns empty string if not found.
GetText returns the text content of the given node, including the text content of all child nodes.
HasAttributes returns true if the given node has all the attribute values.
ReplaceAttribute adds an attribute to the node, replacing any existing attribute with the same name.
Text creates a new Text node.