The XML file is here. How can I get the source content in this XML file?
PHP already includes XML parsers in the core or as extensions (i recommend SimpleXML).
Try to use it and then ask us if you have any specific problem.
Actually there are four relatively simple ways to read an XML file:
DOM
via XMLReader::expand().XMLReader
(operating on streams)My personal favorites are:
SimpleXML
when parsing relatively small XML files without the need to modifiy themXMLReader
when parsing large XML files