Esas no las conocia, voy a probar esta: simplexml_load_string y te cuento a ver, por que voy a hacer pruebas con XMLs mas largos =)
Ahora pongo por aqui un XML "largo" y lo que me genera la funcion, por si le interesa a alguien.
EDIT: pues dicho y hecho, de momento me gusta mas esto, ademas para lo que quiero esta de lujo.
Voy a poner el XML y el print_r en spoilers por que son largos
XML Inicial<NewDataSet>
<Table>
<Country>Spain</Country>
<City>Fuerteventura / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Hierro / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>La Palma / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Las Palmas De Gran Canaria / Gando</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Lanzarote / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Tenerife Sur</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Tenerife / Los Rodeos</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Melilla</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Albacete / Los Llanos</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Alicante / El Altet</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Almeria / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Asturias / Aviles</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Cordoba / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Bilbao / Sondica</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Burgos / Villafria</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Barcelona / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Badajoz / Talavera La Real</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Calamocha</City>
</Table>
<Table>
<Country>Spain</Country>
<City>La Coruna / Alvedro</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Madri-Colmenar</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Gerona / Costa Brava</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Granada / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Madrid / Getafe</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Hinojosa Del Duque</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Ibiza / Es Codola</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Jerez De La Fronteraaeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Murcia / San Javier</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Leon / Virgen Del Camino</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Logrono / Agoncillo</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Madrid / Barajas</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Malaga / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Menorca / Mahon</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Moron De La Frontera</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Palma De Mallorca / Son San Juan</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Pamplona / Noain</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Murcia / Alcantarilla</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Reus / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Rota</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Salamanca / Matacan</City>
</Table>
<Table>
<Country>Spain</Country>
<City>San Sebastian / Fuenterrabia</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Santiago / Labacolla</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Madrid / Torrejon</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Valencia / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Valladolid / Villanubla</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Madrid / Cuatro Vientos</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Vitoria</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Vigo / Peinador</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Santander / Parayas</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Zaragoza / Aeropuerto</City>
</Table>
<Table>
<Country>Spain</Country>
<City>Sevilla / San Pablo</City>
</Table>
</NewDataSet>
print_r del objeto generado con simplexml_load_stringSimpleXMLElement Object
(
[Table] => Array
(
[0] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Fuerteventura / Aeropuerto
)
[1] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Hierro / Aeropuerto
)
[2] => SimpleXMLElement Object
(
[Country] => Spain
[City] => La Palma / Aeropuerto
)
[3] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Las Palmas De Gran Canaria / Gando
)
[4] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Lanzarote / Aeropuerto
)
[5] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Tenerife Sur
)
[6] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Tenerife / Los Rodeos
)
[7] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Melilla
)
[8] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Albacete / Los Llanos
)
[9] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Alicante / El Altet
)
[10] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Almeria / Aeropuerto
)
[11] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Asturias / Aviles
)
[12] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Cordoba / Aeropuerto
)
[13] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Bilbao / Sondica
)
[14] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Burgos / Villafria
)
[15] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Barcelona / Aeropuerto
)
[16] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Badajoz / Talavera La Real
)
[17] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Calamocha
)
[18] => SimpleXMLElement Object
(
[Country] => Spain
[City] => La Coruna / Alvedro
)
[19] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Madri-Colmenar
)
[20] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Gerona / Costa Brava
)
[21] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Granada / Aeropuerto
)
[22] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Madrid / Getafe
)
[23] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Hinojosa Del Duque
)
[24] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Ibiza / Es Codola
)
[25] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Jerez De La Fronteraaeropuerto
)
[26] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Murcia / San Javier
)
[27] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Leon / Virgen Del Camino
)
[28] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Logrono / Agoncillo
)
[29] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Madrid / Barajas
)
[30] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Malaga / Aeropuerto
)
[31] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Menorca / Mahon
)
[32] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Moron De La Frontera
)
[33] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Palma De Mallorca / Son San Juan
)
[34] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Pamplona / Noain
)
[35] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Murcia / Alcantarilla
)
[36] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Reus / Aeropuerto
)
[37] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Rota
)
[38] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Salamanca / Matacan
)
[39] => SimpleXMLElement Object
(
[Country] => Spain
[City] => San Sebastian / Fuenterrabia
)
[40] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Santiago / Labacolla
)
[41] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Madrid / Torrejon
)
[42] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Valencia / Aeropuerto
)
[43] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Valladolid / Villanubla
)
[44] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Madrid / Cuatro Vientos
)
[45] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Vitoria
)
[46] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Vigo / Peinador
)
[47] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Santander / Parayas
)
[48] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Zaragoza / Aeropuerto
)
[49] => SimpleXMLElement Object
(
[Country] => Spain
[City] => Sevilla / San Pablo
)
)
)
Forma de recuperar la lista de ciudades
foreach($a->Table as $object)
echo $object->City."<br>" ;
#2 ire practicando con el, pero sobre todo es mas adelante, qndo tenga que traer informacion de un werbservice cuando le de mas uso, pero veo que me va a servir bastante.
Si para entonces me sigue funcionando tan way, pondre mas ejemplos por aqui, y si no, pondre alguna otra solucion que haya encontrado =)