Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
libxmljs
HTMLDocument
Class HTMLDocument
Hierarchy
XMLDocument
HTMLDocument
Index
Constructor methods
constructor
Methods
child
childNodes
encoding
errors
find
get
node
root
toString
version
Constructor methods
constructor
(
version
:
number
, encoding
:
string
)
:
XMLDocument
Parameters
version:
number
encoding:
string
Returns
XMLDocument
Methods
public
child
(
idx
:
number
)
:
Element
Parameters
idx:
number
Returns
Element
public
childNodes
(
)
:
Element
[]
Returns
Element
[]
public
encoding
(
)
:
string
Returns
string
public
encoding
(
enc
:
string
)
Parameters
enc:
string
public
errors
(
)
:
Array<SyntaxError>
Returns
Array<SyntaxError>
public
find
(
xpath
:
string
)
:
Element
[]
Parameters
xpath:
string
Returns
Element
[]
public
get
(
xpath
:
string
)
:
Element
Parameters
xpath:
string
Returns
Element
public
node
(
name
:
string
, content
:
string
)
:
Element
Parameters
name:
string
content:
string
Returns
Element
public
root
(
)
:
Element
Returns
Element
public
toString
(
)
:
string
Returns
string
public
version
(
)
:
Number
Returns
Number
Globals
libxmljs
Attribute
Element
HTMLDocument
constructor
child
childNodes
encoding
errors
find
get
node
root
toString
version
Namespace
SaxParser
SaxPushParser
XMLDocument
parseHtmlString
parseXmlString