Login Register

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
([object Object])@http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js:2204
([object Object])@http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js:2225
([object Object])@http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js:6610
(1483)@http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js:6530
@:0

name : TypeError

Now, the reason I've resorted to using the uncompressedd version is that I hoped to glean some answer to why things are not working. Not so.

My PHP code is very basic, and the output is very much like the provided xml samples in the test directories of dojox.data

The only thing I've not tried yet is to set the content-type to xml . Is that really needed? Can't I just echo a legal xml structure?

Thanks for any advice,
PS