I'll do something similar to this. I don't want to have to turn short tags off :P
-Josh On Wed, 1 Sep 2004 12:21:29 -0700, Michal Migurski <[EMAIL PROTECTED]> wrote: > > > > 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