Many APIs use an output XML template to define what is returned. Each API has its own XML template, which is picked up from the INSTALL_DIR/repository/xapi/template/merged/api/apiName.xml file. The files in this directory are part of the product and should not be altered. However, these templates can be overridden by implementing template extensions.
To extend a template file: