Can't read an XML file with simplexml_load_string?

The response you get from the API is not well-formed/valid XML.

Thanx all for the attention and replies, But the problem lied somewhere else In my curl request the I had not set CURLOPT_RETURNTRANSFER to true and that was causing the XML not to be recorded in the variable and was somehow was getting printed on the screen giving the illusion that it is coming from the variable but it was not. However I set CURLOPT_RETURNTRANSFER to 1 and it is giving me correct results now. Sorry for the silly mistake.

And thanx all.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions