XML format for maapi_load_config[_cmds] API

Is there documentation anywhere outlining exactly what is and isn’t supported for XML passed via these APIs? For example what attributes can I set and what do they do? How do I use a prefix to differentiate an ambiguous element? Trying to pass an element named “oc-if:interfaces” gives error message “prefix not found” even though I successfully use the same prefix in other API calls.

Are you trying to do something like:

<config xmlns="http://tail-f.com/ns/config/1.0">
  <interfaces xmlns="http://openconfig.net/yang/interfaces">
    <interface>
      <name>myif</name>
    </interface>
  </interfaces>
</config>

vs using a prefix:

<config xmlns="http://tail-f.com/ns/config/1.0" xmlns:oc-if="http://openconfig.net/yang/interfaces">
  <oc-if:interfaces>
    <oc-if:interface>
      <oc-if:name>my-if</oc-if:name>
    </oc-if:interface>
  </oc-if:interfaces>
</config>