add xml c bindings