for LibXML as well