Added support for libxmljs to speed things up