note 91869 added to function.simplexml-load-string

From: Date: Tue, 30 Jun 2009 10:58:15 +0000
Subject: note 91869 added to function.simplexml-load-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-157689@lists.php.net to get a copy of this message
Trying to convert this xml into an array using xml2array or unserialize_xml. <?xml version="1.0" encoding="ISO-8859-1" ?> <HostipLookupResultSet version="1.0.0" xmlns="h.tp://www.hostip.info/api" xmlns:gml="h.tp://www.opengis.net/gml" xmlns:xsi="h.tp://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="h.tp://www.hostip.info/api/hostip-1.0.0.xsd"> <gml:description>This is the Hostip Lookup Service</gml:description> <gml:name>hostip</gml:name> <gml:boundedBy> <gml:Null>inapplicable</gml:Null> </gml:boundedBy> <gml:featureMember> <Hostip> <gml:name>Sugar Grove, IL</gml:name> <countryName>UNITED STATES</countryName> <countryAbbrev>US</countryAbbrev> <!-- Co-ordinates are available as lng,lat --> <ipLocation> <gml:PointProperty> <gml:Point srsName="h.tp://www.opengis.net/gml/srs/epsg.xml#4326"> <gml:coordinates>-88.4588,41.7696</gml:coordinates> </gml:Point> </gml:PointProperty> </ipLocation> </Hostip> </gml:featureMember> </HostipLookupResultSet> http replaced by h.tp (considered as spam ...) any help appreciated. ---- Server IP: 69.147.83.197 Probable Submitter: 89.83.76.134 ---- Manual Page -- http://www.php.net/manual/en/function.simplexml-load-string.php Edit -- https://master.php.net/note/edit/91869 Del: integrated -- https://master.php.net/note/delete/91869/integrated Del: useless -- https://master.php.net/note/delete/91869/useless Del: bad code -- https://master.php.net/note/delete/91869/bad+code Del: spam -- https://master.php.net/note/delete/91869/spam Del: non-english -- https://master.php.net/note/delete/91869/non-english Del: in docs -- https://master.php.net/note/delete/91869/in+docs Del: other reasons-- https://master.php.net/note/delete/91869 Reject -- https://master.php.net/note/reject/91869 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#157689) next »