Login Register

xmlstore

XmlStore not standart XML

Hello, All. I have xml file with such content:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<root>
<Groups Syst_ID="00a3c77c-0e07-4fee-ba55-2880887895c2" ID="CEC7E3C2-DC78-498C-81DA-250B16A47300" Name="line1"></Groups>
<Groups Syst_ID="00a3c77c-0e07-4fee-ba55-2880887895c2" ID="CEC7E3C2-DC78-498C-81DA-250B16A47301" Name="line2"></Groups>
</root

Populating Grid with XmlStore

Updated - 24-Dec-2007 - Now have a fix for this issue. See bottom.

I am trying to populate a grid using data from an XmlStore. The grid displays with one row per item returned in the XML but each cell shows the value of "...". I have proven that the XML is coming back OK as I can output the values from the store. Also, the grid displays data fine when I just setup an array and use dojo.grid.data.table.

Any help, gratefully received!!

The code is shown below: -

var store = new dojox.data.XmlStore

Trying to write a simple xmlstore backend in PHP

Hi,

I've tried to write a simple backend to provide an xmlstore some data, and no matter what I do I get the following error;

message : document has no properties
fileName : http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js
lineNumber : 678
stack : (null,[object Object])@http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js:678
(null)@http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js:591
()@http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js:2298

Syndicate content