X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsymbols%2FRoo.data.XmlReader.json;h=d2ffc18e8824cde5553b0c4fd70df29596055886;hp=8bfe9c7c27412c646e116884b43a1cc408d43b3c;hb=9c7a8ec74e80c6351625f2b02b15673ef54753ae;hpb=dc0deb4ab24ebb1144a9c7c0cea2e5d6bedb54e1 diff --git a/docs/symbols/Roo.data.XmlReader.json b/docs/symbols/Roo.data.XmlReader.json index 8bfe9c7c27..d2ffc18e88 100644 --- a/docs/symbols/Roo.data.XmlReader.json +++ b/docs/symbols/Roo.data.XmlReader.json @@ -8,7 +8,7 @@ "tree_parent" : [], "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.

\n

\nNote 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\".\n

\nExample code:\n

\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
\n

\nThis would consume an XML file like this:\n

\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
", "isSingleton" : false, - "isStatic" : true, + "isStatic" : false, "isBuiltin" : false, "isAbstract" : false, "isBuilderTop" : false,