Is this the appropriate way to handle this?

echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n";

What's everyone else do? I'm not missing something here am I?? :)

You can also place the XML declaration outside of the php tags. I have been
able to get proper validation both ways.



PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to