[OpenLayers-Users] Missing docs for OpenLayers and
OpenLayers.parseXMLString and maybe others
Stephen Woodbridge
woodbri at swoodbridge.com
Mon Apr 14 15:20:48 EDT 2008
Tim Schaub wrote:
> Please do not use OpenLayers.parseXMLString.
>
> Can you explain what you are doing that requires it?
Hi Tim,
Thanks for the heads up. I have a geocoder that returns XML in addition
to other formats and needed to parse it. I got a headache trying to
figure out how to get my results out of the parsed document and switched
to another format that was easy to parse into an array of objects.
So I'm good.
WRT the documentation, you might want to add a note to it or mark it as
deprecated or whatever.
Thanks,
-Steve
<?xml version="1.0" ?>
<response code="1">
<addresses count="1">
<item>
<type>ADDRESS</type>
<label/>
<zip>01863</zip>
<state>MA</state>
<place>North Chelmsford</place>
<address>11 Radcliff Rd</address>
<stdaddr>11 Radcliffe Rd</stdaddr>
<sfips>25</sfips>
<cfips>017</cfips>
<latitude>42.620002</latitude>
<longitude>-71.387764</longitude>
<recnum>51511</recnum>
<segname>Radcliffe Rd</segname>
<altname>Radcliffe Rd</altname>
<tlid>86893125</tlid>
<stdnum>11</stdnum>
<stdprefix/>
<stdptype/>
<stdstreet>Radcliffe</stdstreet>
<stdtype>Rd</stdtype>
<stdpostfix/>
<stdname>Radcliffe Rd</stdname>
<score>100</score>
<lfr>99</lfr>
<lto>1</lto>
<rfr>98</rfr>
<rto>2</rto>
</item>
</addresses>
</response>
> Tim
>
> Stephen Woodbridge wrote:
>> Hi all,
>>
>> Is this a doc bug or am I missing something. The doc at
>>
>> http://dev.openlayers.org/apidocs/files/OpenLayers/Ajax-js.html
>>
>> Does not include:
>>
>> OpenLayers.loadURL
>> OpenLayers.parseXMLString
>>
>> and maybe some others.
>>
>> Thanks,
>> -Steve
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>> !DSPAM:4033,480374e774713362379201!
>>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list