/*!
+ * Ext JS Library 3.3.1
+ * Copyright(c) 2006-2010 Sencha Inc.
+ * licensing@sencha.com
+ * http://www.sencha.com/license
+ */
+/**
* @class Ext.data.XmlWriter
* @extends Ext.data.DataWriter
* DataWriter extension for writing an array or single {@link Ext.data.Record} object(s) in preparation for executing a remote CRUD action via XML.
@@ -103,8 +109,9 @@ Ext.extend(Ext.data.XmlWriter, Ext.data.DataWriter, {
*
{Array} baseParams. The baseParams as defined upon {@link Ext.data.Store#baseParams}. Note that the baseParams have been converted into an array of [{name : "foo", value: "bar"}, ...] pairs in the same manner as the records parameter above. See {@link #documentRoot} and {@link #forceDocumentRoot}.
*
*/
- // Break up encoding here in case it's being included by some kind of page that will parse it (eg. PHP)
- tpl: '<' + '?xml version="{version}" encoding="{encoding}"?' + '><{documentRoot}><{name}>{value}{name}<{root}><{parent.record}><{name}>{value}{name}>{parent.record}>{root}>{documentRoot}>',
+ // Encoding the ? here in case it's being included by some kind of page that will parse it (eg. PHP)
+ tpl: '<\u003fxml version="{version}" encoding="{encoding}"\u003f><{documentRoot}><{name}>{value}{name}><{root}><{parent.record}><{name}>{value}{name}>{parent.record}>{root}>{documentRoot}>',
+
/**
* XmlWriter implementation of the final stage of a write action.
@@ -157,7 +164,6 @@ Ext.extend(Ext.data.XmlWriter, Ext.data.DataWriter, {
return this.toArray(data);
}
});
-
-
-
+
+
\ No newline at end of file