I am trying to work on an XML Based problem. So far, it\'s proving to be a bummer for some reason. My code is only two lines and for some reason nothing is loading in.
T
Your XML is probably invalid. Look at the fine PHP manual that describes how to handle those errors:
http://php.net/manual/en/simplexml.examples-errors.php
You can also validate your XML with command line tools like xmllint:
$ xmllint --noout /path/to/file.xml
file.xml:1: parser error : XML declaration allowed only at the start of the document