note 91869 rejected from function.simplexml-load-string by danbrown
| From: | danbrown@php.net | Date: | Tue, 30 Jun 2009 13:11:46 +0000 |
| Subject: | note 91869 rejected from function.simplexml-load-string by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157692@lists.php.net to get a copy of this message | ||
Note Submitter: contact at nogent94 dot com
----
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.