<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV>Hi Piero</DIV>
<DIV> </DIV>
<DIV>The returned data will be in the response.responseText.</DIV>
<DIV> </DIV>
<DIV>You need to parse this text with Javascript to get your values.</DIV>
<DIV> </DIV>
<DIV>eg.</DIV>
<DIV> </DIV>
<DIV>var postcode = "<A href="http://ws-esrimt/arcgis/services/mapservice/MapServer/WMSServer?service=WMS&version=1.1.1&request=GetFeatureInfo&QUERY_LAYERS=5&INFO_FORMAT=text/plain&SRS=EPSG:2193&BBOX">http://ws-esrimt/arcgis/services/mapservice/MapServer/WMSServer?service=WMS&version=1.1.1&request=GetFeatureInfo&QUERY_LAYERS=5&INFO_FORMAT=text/plain&SRS=EPSG:2193&BBOX</A>=" + bbox1 + "," + bbox2 + "," + bbox3 + "," + bbox4 + "&WIDTH=20&HEIGHT=20&X=10&Y=10";</DIV>
<DIV>OpenLayers.loadURL(postcode, '', this, setHTML);</DIV>
<DIV> </DIV>
<DIV>function setHTML(response) {<BR> alert(response.responseText);</DIV>
<DIV>}</DIV>
<DIV> </DIV>
<DIV>regards,</DIV>
<DIV> </DIV>
<DIV>Robert S<BR><BR>>>> Piero Campa <piero.campa@gmail.com> 16/03/2010 5:08 a.m. >>><BR><BR>Hi, <BR>I insert myself in the topic for a little question: I can't understand how<BR>to read the content of the HTTP response which contains the WMS feature<BR>info. <BR><BR>Is it a field in the variable controlInfo or whatelse?<BR>Thank you guys. =)<BR>Piero<BR>-- <BR>View this message in context: <A href="http://n2.nabble.com/Format">http://n2.nabble.com/Format</A>-WMSGetFeatureInfo-response-tp3196230p4737939.html<BR>Sent from the OpenLayers Users mailing list archive at Nabble.com.<BR>_______________________________________________<BR>Users mailing list<BR>Users@openlayers.org<BR><A href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A><BR><BR></DIV><br><br><table bgcolor=white style="color:black"><tr><td><br>------------------------------------------------------------------<br>
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.<br>
------------------------------------------------------------------</td></tr></table><br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc. </FONT><A href="http://www.surfcontrol.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.surfcontrol.com</FONT></A></P>
</body></HTML>