Page 1 of 1

mysql->php->xml = fault..

Posted: Mon Feb 03, 2003 2:59 pm
by peppelorum
Trying to parse a xml-page that is generated by a php-script but it doesn't work..
I use for example this script to generate the xml-file, http://www.phpdeveloper.org/view_tut.php?id=51
and this script to parse the xml, http://www.phpdeveloper.org/view_tut.php?id=58
The xml works fine and IE doesn't complain when viewing it, but when it try to parse it says:
"XML error: not well-formed (invalid token) at line 1"
But if I save the file into a static xml-file then it works, so my question is, what goes wrong?