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 <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]] > Date: mercredi 31 juillet 2002 15:51 > À: [EMAIL PROTECTED] > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>