code: function parseStringSync (xml) {
    var doc = new DOMParser().parseFromString(xml);
    var plist;
    if (doc.documentElement.nodeName !== 'plist') {
      throw new Error('malformed document. First element should be <plist>');
    }
    plist = parsePlistXML(doc.documentElement);
  
    // if the plist is an array with 1 element, pull it out of the array
    if (plist.length == 1) {
      plist = plist[0];
    }
    return plist;
  }
docs: Parses a Plist XML string. Returns an Object.
  
  @param {String} xml - the XML String to decode
  @param {Function} callback - callback function
  @returns {Mixed} the decoded value from the Plist XML
  @api public
  @deprecated use parse() instead