lib/core/loader.js
function loadDataFile (filename) {
  let xml = fs.readFileSync(filename, 'utf-8')

  // Remove inline tags.
  xml = cleanTokens(tagsToClean, xml)

  const rawJSON = parser.parseXML(xml)

  // Normalize some keys.
  return normalizeKeys(keysToNormalize, rawJSON)
}
function loadDataFile (filename) {
  let xml = fs.readFileSync(filename, 'utf-8')

  // Remove inline tags.
  xml = cleanTokens(tagsToClean, xml)

  const rawJSON = parser.parseXML(xml)

  // Normalize some keys.
  return normalizeKeys(keysToNormalize, rawJSON)
}
function loadDataFile ( filename ) { let xml = fs . readFileSync ( filename , 'utf-8' ) // Remove inline tags. xml = cleanTokens ( tagsToClean , xml ) const rawJSON = parser . parseXML ( xml ) // Normalize some keys. return normalizeKeys ( keysToNormalize , rawJSON ) }
------------------------------------------------------------- Module. -------------------------------------------------------------
------------------------------------------------------------- Module . -------------------------------------------------------------