php test.php xml2json localdata
^optional ^optional
excerpt of the result:
{
"city": {
"@attributes": {
"id": "2643743",
"name": "London"
},
"coord": {
.
.
.
Other examples:
argument 1:
- xml2array
- xml2json
argument 2:
- localdata
- openweathermap