Page 1 of 1

How to convert XML to string

Posted: Thu Sep 17, 2009 2:36 am
by buntu
Hi,

Can someone let me know how do I convert a XML to a string format. Thanks for the help!

Re: How to convert XML to string

Posted: Thu Sep 17, 2009 4:50 am
by Mark Baker
Don't
Process it as XML using something like simpleXML

If you absolutely have to read it as a string, just use standard file functions to read it in as a string