code: function createXMLWriter(extended) {
      extended = extended || false;
  
      var xw = new XmlWriter().startElement('entry')
          .writeAttribute('xmlns', 'http://www.w3.org/2005/Atom');
  
      return extended ?
          xw.writeAttribute(
              'xmlns:gsx',
              'http://schemas.google.com/spreadsheets/2006/extended'
          ) :
          xw.writeAttribute(
              'xmlns:gs',
              'http://schemas.google.com/spreadsheets/2006'
          );
  }
docs: Creates XML writer for the data.
  
  @param extended
  @returns {*}