I've got a XML file on the net which I'm trying to split up into variables and display to the user.
This is the url to the file: http://www.labs.skanetrafiken.se/v2.2/querypage.asp?inpPointFr=lund&inpPointTo=ystad
This now seems VERY easy to do from what I've read but the only thing I've gotten to work is this.
$xml = new SimpleXMLElement($url, null, true);
echo $xml->asXML(); // this spits out a huuuge string.
Nothing else has worked. Not simplexml_load_string() or any of the other things.
I've read about 20-40 tutorials and none have worked, getting abit frustrated so to speak.