Hey,

thanks for your input. Take a look at those two bugs in our bugzilla:
http://bugzilla.qooxdoo.org/buglist.cgi?quicksearch=xml%20data%20store
We have already the tasks listed in bugzilla.

Until those bugs are done, you can try to find a XML to JSON parser and use 
that in the "manipulateData" method of the data stores delegate to just turn 
the XML into JSON.

Best,
Martin
<http://bugzilla.qooxdoo.org/buglist.cgi?quicksearch=xml%20data%20store>
Am 31.01.2011 um 00:04 schrieb Leandro Santiago:

Hello to all.

As I execute

var store = new qx.data.store.Json("http://url/to/service.json?param=1",null);

And it returns a json object which is converted to a javascript object in the 
model property.

I know Json is a good way to represent data, but most websites still use xml as 
data format (including rss and atom feed), but I couldn't find a "Json store 
like" but using xml.

XML (with E4X) is today a first class citizen in javascript, so I think should 
have this feature for xml, because xml is very important today.
Yes, I know that create a javascript from a complex xml isn't trivial, because 
some use many namespaces (have anyone here already used soap? :-)), which 
doesn't exist in json syntax, but I don't think a parser like there is hard to 
be written.

Currently I don't think I'm able to do something like this, but I think it's a 
important feature for qooxdoo.

I also looked at the feed reader example, which use a remote xml service (rss), 
but it uses YQL, which is not so trivial as parse a file to a object when you 
need it.

Perhaps I'm wrong and there is a way to do it, but i just didin't find how to 
do it.

Best regards  and thanks for making qooxdoo :-) <ATT00001..txt><ATT00002..txt>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to