polotek/libxmljs — pull request #142 by dpw (2012-07-05 18:46:17+00:00)
Title: Support other result types of evaluating XPath expressions

libxmljs only reliably supported evaluation of XPath expressions that yielded nodesets of element. These two commits add support for nodesets with attributes and expressions yielding non-nodeset values.