Hi all,
I used simplexml_load_ file function to parse all my xml feeds,
and found it to be the easiest option available. But, i recently
signed up for a feed which sends the xml file without the first
mandatory line, i.e, <?xml version="1.0" encoding="ISO-8859-1" ?>....
I learned that simplexml_ does not parse without the above
line, is this true, if yes, is there a way to add the above line once
retrieving the contents and passing it to simplexml_ function.
PLEASE HELP, I don't want to parse using good old dom or other
techniques.....
Thanks...
-Harsha
I used simplexml_load_ file function to parse all my xml feeds,
and found it to be the easiest option available. But, i recently
signed up for a feed which sends the xml file without the first
mandatory line, i.e, <?xml version="1.0" encoding="ISO-8859-1" ?>....
I learned that simplexml_ does not parse without the above
line, is this true, if yes, is there a way to add the above line once
retrieving the contents and passing it to simplexml_ function.
PLEASE HELP, I don't want to parse using good old dom or other
techniques.....
Thanks...
-Harsha
Comment