add CreateXML and DefineXML bindings