],
"desc" : "Data reader class to create an Array of {@link Roo.data.Record} objects from an XML document\nbased on mappings in a provided Roo.data.Record constructor.<br><br>\n<p>\n<em>Note that in order for the browser to parse a returned XML document, the Content-Type\nheader in the HTTP response must be set to \"text/xml\".</em>\n<p>\nExample code:\n<pre><code>\nvar RecordDef = Roo.data.Record.create([\n {name: 'name', mapping: 'name'}, // \"mapping\" property not needed if it's the same as \"name\"\n {name: 'occupation'} // This field will use \"occupation\" as the mapping.\n]);\nvar myReader = new Roo.data.XmlReader({\n totalRecords: \"results\", // The element which contains the total dataset size (optional)\n record: \"row\", // The repeated element which contains row information\n id: \"id\" // The element within the row that provides an ID for the record (optional)\n}, RecordDef);\n</code></pre>\n<p>\nThis would consume an XML file like this:\n<pre><code>\n<?xml?>\n<dataset>\n <results>2</results>\n <row>\n <id>1</id>\n <name>Bill</name>\n <occupation>Gardener</occupation>\n </row>\n <row>\n <id>2</id>\n <name>Ben</name>\n <occupation>Horticulturalist</occupation>\n </row>\n</dataset>\n</code></pre>",
"isSingleton" : false,
- "isStatic" : true,
+ "isStatic" : false,
"isBuiltin" : false,
+ "memberOf" : "XmlReader",
+ "example" : "",
+ "deprecated" : "",
+ "since" : "",
+ "see" : "",
+ "params" : [
+ {
+ "name" : "meta",
+ "type" : "Object",
+ "desc" : "Metadata configuration options",
+ "isOptional" : false
+ },
+ {
+ "name" : "recordType",
+ "type" : "Mixed",
+ "desc" : "The definition of the data record type to produce. This can be either a valid\nRecord subclass created with {@link Roo.data.Record#create}, or an array of objects with which to call\nRoo.data.Record.create. See the {@link Roo.data.Record} class for more details.",
+ "isOptional" : false
+ }
+ ],
+ "returns" : [
+ ],
"config" : [
{
"name" : "id",