Created
September 20, 2013 12:38
-
-
Save wboykinm/6636849 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Content-type: text/plain'); | |
/* | |
* Title: IATI XML to GeoJSON | |
* Returns "Location"-level schema | |
*/ | |
# Read the XML file | |
$xmlfile = simplexml_load_file('http://www.afdb.org/fileadmin/uploads/afdb/Documents/Generic-Documents/IATIBotswanaData.xml'); | |
echo $xmlfile; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment