Document parser library based on libxml2