forked from libxmljs/libxmljs
-
Notifications
You must be signed in to change notification settings - Fork 0
Libxmljs
shtylman edited this page Feb 10, 2012
·
7 revisions
The module export object that comes from require('libxmljs')
version
Get the current version of libxml.js
returns a string
libxml_version
Get the compiled version of libxml
returns a string
libxml_parser_version
Get the loaded version of libxml
returns a string
parseXmlString(string)
Parse the string as xml and return a Document object. Throws if there was an error parsing
returns a Document
parseHtmlString(string)
Parse the string as html and return a Document object. Throws if there was an error parsing
returns a Document