[Dojo-interest] pb using dojo.xml.Parse();

NICOLAS Celine RD-TECH-LAN celine.nicolas at orange-ftgroup.com
Tue Feb 6 03:01:58 MST 2007


I can't understand what happen when I'm using dojo.xml.Parse() : 

I have the following error :

atts has no properties

when I call this code:

var parser = new dojo.xml.Parse();

var parsedNodes = parser.parseElement(response.getXml());

whereas response.getXml() is: 
<?xml version="1.0" encoding="ISO-8859-1"?> <response sid="47"
resref="2" rescode="OK"><p n="xCoordinate"><v>601061.717601</v></p><p
n="yCoordinate"><v>2428691.198226</v></p><p
n="radius"><v>4</v></p></response>

 

 

I just want to parse this xml, can anyone give me the best way to do
that? Thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20070206/f30d402b/attachment.html


More information about the Dojo-interest mailing list