function getXmlVersionContent (bodyContent) {
  bodyContent = (typeof bodyContent === 'string') ? bodyContent : '';
  const regExp = new RegExp('([<\\?xml]+[\\s{1,}]+[version="\\d.\\d"]+[\\sencoding="]+.{1,15}"\\?>)');
  let xmlBody = bodyContent;

  if (!bodyContent.match(regExp)) {
    const versionContent = '<?xml version="1.0" encoding="UTF-8"?>\n';
    xmlBody = versionContent + xmlBody;
  }
  return xmlBody;
}
Adds XML version content for XML specific bodies.

@param {*} bodyContent - XML Body content
@returns {*} - Body with correct XML version content