X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/Xml2.html diff --git a/docs/source/Xml2.html b/docs/source/Xml2.html index 8bb4983f..76d46dbb 100644 --- a/docs/source/Xml2.html +++ b/docs/source/Xml2.html @@ -1,9 +1,31 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @author Ed Spencer
* @class Ext.data.writer.Xml
* @extends Ext.data.writer.Writer
- *
- * <p>Writer that outputs model data in XML format</p>
+
+This class is used to write {@link Ext.data.Model} data to the server in an XML format.
+The {@link #documentRoot} property is used to specify the root element in the XML document.
+The {@link #record} option is used to specify the element name for each record that will make
+up the XML document.
+
+ * @markdown
*/
Ext.define('Ext.data.writer.Xml', {
@@ -16,26 +38,26 @@ Ext.define('Ext.data.writer.Xml', {
/* End Definitions */
- /**
+ /**
* @cfg {String} documentRoot The name of the root element of the document. Defaults to <tt>'xmlData'</tt>.
* If there is more than 1 record and the root is not specified, the default document root will still be used
* to ensure a valid XML document is created.
*/
documentRoot: 'xmlData',
- /**
+ /**
* @cfg {String} defaultDocumentRoot The root to be used if {@link #documentRoot} is empty and a root is required
* to form a valid XML document.
*/
defaultDocumentRoot: 'xmlData',
- /**
+ /**
* @cfg {String} header A header to use in the XML document (such as setting the encoding or version).
* Defaults to <tt>''</tt>.
*/
header: '',
- /**
+ /**
* @cfg {String} record The name of the node to use for each record. Defaults to <tt>'record'</tt>.
*/
record: 'record',
@@ -82,4 +104,6 @@ Ext.define('Ext.data.writer.Xml', {
return request;
}
});
-
\ No newline at end of file
+
+
+