How do I get an xml tag to work with a php script?
<?xml version="1.0"?>
php is trying to parse that.
<?= '<'.'?xml version="1.0"?'.'>' ?>
ugly, huh?
I'm not sure if there is a better way, but I use the above to prevent erroneous PHP parsing of xml declarations regardless of short_open_tags setting, and to keep my text editor's syntax highlighting from being fooled.
---------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php