HtmlDocument (gb.xml.html)

This class inherits XmlDocument in gb.xml.
This class is
Dim hHtmlDocument As HtmlDocument
creatable
.

Properties

Methods
property All As xmlnode Returns an array with every xmlnode
All  
Returns or sets the base URL to use for all relative URLs contained within a document. If no <base> tag exists in the document, this property returns Null, and creates a new <base> element when set.
Base  
Returns or sets the <body> element of the document. If no <body> element exists in the document, it is created upon reading this property.
Body  
Returns the full content of the document.
Content  
Sets the favicon path to be used
Favicon  
Returns or sets the <head> element of the document. If no <head> element exists in the document, it is created upon reading this property.
Head  
Html5  
Sets the content of the Lang tag
Lang  
Returns or defines the root element of this document.
Root  
property Read Scripts As comp/gb.xml.html.HtmlDocumentScripts
Scripts  
HtmlDocument.StyleSheets.Add("main.css")
StyleSheets  
Returns or sets the title of the HTML document
Title  
Creates a new element TagName and returns it as an XmlElement
CreateElement  
Removes all the content of this document, and loads its new contents from the given XML string.
FromString  
Function GetElementById ( Id As String [ , Depth As Integer ] ) As XmlElement
GetElementById  
Function GetElementsByClassName ( ClassName As String [ , Depth As Integer ] ) As XmlElement
GetElementsByClassName  
Function GetElementsByNamespace ( Namespace As String [ , Mode As Integer, Depth As Integer ] ) As XmlElement
GetElementsByNamespace  
Returns all the elements of the document whose tag name matches Name.
GetElementsByTagName  
Removes all the content of this document, and loads its new contents from the given HTML string.
HtmlFromString  
Removes all the content of this document, and loads its new contents from the given file.
Open  
Saves the content of the document to FileName.
Save  
Formats the current document to a string, which can be later re-parsed.
ToString  
A synonymous of the Save function.
Write