more work on the libxml2 binding