libxml2 formatting