Hello, I want to convert some xml stuff to simple string using php, say:
$string = <<<XML
<a> left <foo>center1<ok>ok</ok>center2</foo>right </a>
$xml = simplexml_load_string($string);
The code will output "left right" while all the central stuff was lost.
How should I print it as "left center1 ok center2 right" ?
Thanks in advance, and please Cc me. :)
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php