polotek/libxmljs — pull request #143 by dpw (2012-07-07 23:38:40+00:00)
Title: Support for parsing from Buffers

For XML, this gives access to automatic encoding detection based on the XML declaration in the file.

Parsing from a Buffer should also be a bit faster than parsing from a string, as the data in a buffer can be passed directly to libxml.