Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > cae3631166a9c9967730c5391ccbe488 > files > 24

nodejs-libxmljs-0.8.1-3.fc18.i686.rpm

# Libxmljs 

The module export object that comes from `require('libxmljs')`

### Properties


**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

### Functions

**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