You are here: Re: XSL fallback to PHP? « PHP Programming Language « IT news, forums, messages
Re: XSL fallback to PHP?

Posted by Ramon on 08/18/06 16:02

You can determine if the browser accepts XML by reading the
$_SERVER[HTTP_ACCEPT] variable. If it accepts XML, it will also accept XSL.
If it doesn't accept XML, just parse the XML/XSL on the server and send it
as plain HTML to the client.

cheers,
Ramon.



<ejijott@gmail.com> wrote in message
news:1155913801.305223.107830@i3g2000cwc.googlegroups.com...
> If a browser doesnt support XSL(T) parsing, can the browser somehow be
> "told" to request the parsed document from the server instead? Are
> there any working examples of this?
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация