cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Post" <bab...@ifrance.com>
Subject Re: xsl and http request header
Date Wed, 31 Jul 2002 14:46:31 GMT
Thank you, it does work :

<xsl:when
test="document('cocoon://httprequest')/rg:request/rg:requestHeaders/rg:heade
r[@name='user-agent' and contains(., 'MSIE')]">80</xsl:when>

----- Original Message -----
From: ROSSEL Olivier <olivier.rossel@airbus.com>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, July 31, 2002 3:56 PM
Subject: RE: xsl and http request header


I think that you can do that using a xsl document() pointing to a
cocoon url with http generator and xml serializer.

This is a VERY powerful option of Cocoon.



> -----Message d'origine-----
> De: Barbara Post [mailto:babs33@ifrance.com]
> Date: mercredi 31 juillet 2002 15:51
> À: cocoon-users@xml.apache.org
> Objet: xsl and http request header
>
>
> Hello, can an xsl directly access http request header (like
> http request
> parameters) or should I use request generator ?
>
> I want a text field to have a size specified by the kind of browser...
>
> Maybe rather use browser selector to pass a parameter to my xsl...?
>
> Babs
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message