[snip] > <?xml version="1.0" encoding="ISO-8859-1"?> > > ... it throws an error from xml_get_error_code Trim your xml file. Whitespace can cause this problem. [/snip] I trimmed and chopped to no avail. Argh. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php