Re: Questions about making an OMNI-COMPATIBLE site

Daniel:

> Actually, you know what bothers me? You cannot write an XHTML document
> in php! The XML declarion, <?xml version="1.0"?>, confuses the php parser,
> and gives you an error message.

Wouldn't something like this save the day?

  <<? // ?>?xml version="1.0" encoding="ISO-8859-3"?<? // ?>>

(I don't use php, so I might be mistaken about the proper syntax.)

> Using php or asp would be the idea way to fix a site so that it serves
> the quirks of as many browsers / platforms as possible, but since you can't
> write xhtml in php...

I'm sure you can. You could also create a function in php that echoes
an xml declaration string.

#####################################################################
                         Bertilo Wennergren
                 <http://purl.oclc.org/net/bertilo>
                        <bertilow@chello.se>
#####################################################################

Received on Thursday, 29 March 2001 15:22:04 UTC