I want to be able to adapt my web-files, as they are being served, so that older 
browsers get an xhtml 1.0-transitional version instead of the default xhtml 1.1 
version. This will involve replacing the DOCTYPE declaration and, also, various xhtml 
tags to include deprecated html attributes. This needs to happen only for older user 
agents such as Netscape 4.

I imagine this can be done using some search-and-replace module but I can't find a 
suitable one. 

Currently, I am using SSI to run a browser-detection script and insert appropriate css 
<link ..> and javascript <script..></script> tags. The problem with that is that it 
limits me to parsing only a small portion of the html file. Earlier, I asked a 
question about re-using variables so that I could use the several SSI includes and 
several scripts to do the task. It seems that storing the computed values of the 
variables from one script to the next is a bit too involved. (Thanks you, Wiggins 
D'Anconia, for your help with that).

Thanks,


Philip Pawley


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to