How to print an XML String ? Simply print the String doesn't work. Loading with simplexml_load_string and using print_r shows only the structure, not the data. I would like to print the whole String exactly. How to do it ?
You are right. But not only the browser also Eclipse (PHP Browser) doesn't show it. Do you know how the access the output within eclipse or how to redirect into a file ?
michel77 wrote:You are right. But not only the browser also Eclipse (PHP Browser) doesn't show it. Do you know how the access the output within eclipse or how to redirect into a file ?
Not sure what you want to do, but I assume you want to save the xml output as a file?
First I would like to get teh output's source code within Eclipse. I know only the PHP browser, that shows the same like Internet Explorer. Addutionally I would like to redirect outpout (print) into a file.
michel77 wrote:First I would like to get teh output's source code within Eclipse. I know only the PHP browser, that shows the same like Internet Explorer. Addutionally I would like to redirect outpout (print) into a file.