Comment Re:Valid XML fragment (Score 2, Informative) 38
Just add "<?xml version='1.0' ... ?>" before your fragment and feed it to xml_parse. See http://php.net/xml.
- Stig
- Stig
I have yet to see any problem, however complicated, which, when you looked at it in the right way, did not become still more complicated. -- Poul Anderson