[AWS] XSLT processing with AWS
Jacob Sparre Andersen
sparre@sslug.se
Sat, 20 Dec 2003 13:59:53 +0100 (CET)
Pascal Obry wrote:
> Xabier wrote:
> > I am doing this because I want to send HTML to the
> > client. Anyway, I would not have to do it if I knew that
> > the client browser is able to process the XML document
> > on-the-fly, producing HTML according to a given XSL
> > stylesheet. Is there any way in AWS to know which
> > browser the client is using?
>
> Yes. See AWS.Status.User_Agent.
But the transmitted name of the "user agent" can _not_ be
trusted. My browsers are for example all configured to
return "Any Browser" as the user agent. And I am almost
certain that MSIE by default claims that it is a Mozilla
clone while Opera by default claims that it is a MSIE clone.
If you want to know if the clients know XSL, you should
check the "accept content" header for that information.
Jacob
--
"The same equations have the same solutions."