getXMLExampleData = (context, exampleData, requestBodySchema) => {
    const { parametersResolution, indentCharacter } = context.computedOptions;

    let reqBodySchemaWithExample = requestBodySchema;

    // Assign example at schema level to be faked by xmlSchemaFaker
    if (typeof requestBodySchema === 'object') {
      reqBodySchemaWithExample = Object.assign({}, requestBodySchema, { example: exampleData });
    }

    return xmlFaker(null, reqBodySchemaWithExample, indentCharacter, parametersResolution);
  }
Gets XML Example data in correct format based on schema

@param {Object} context - Global context object
@param {Object} exampleData - Example data to be used
@param {Object} requestBodySchema - Schema of the request body
@returns {String} XML Example data