src/api/v3/converter.js
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'
        );
}
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'
        );
}
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' ) ; }
Creates XML writer for the data.

@param extended
@returns {*}
Creates XML writer for the data .