X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..6a7e4474cba9d8be4b2ec445e10f1691f7277c50:/docs/source/XmlWriter.html diff --git a/docs/source/XmlWriter.html b/docs/source/XmlWriter.html index c3916f25..b6f83a02 100644 --- a/docs/source/XmlWriter.html +++ b/docs/source/XmlWriter.html @@ -1,12 +1,18 @@ - - - - The source code - - - - -
/** + + + + The source code + + + + +
/*!
+ * Ext JS Library 3.2.0
+ * Copyright(c) 2006-2010 Ext JS, Inc.
+ * licensing@extjs.com
+ * http://www.extjs.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}<{root}><{parent.record}><{name}>{value}', + // 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}<{root}><{parent.record}><{name}>{value}', +
    /** * 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