Hi, I would like to use two different stylesheets depending of the value of the parameter 'langue' passed in HTTP Request.
In this aim, I use a RequestSelector, and this works well: <map:match pattern="*"> <map:generate src="documents/participants.xml"/> <map:select type="request"> <map:parameter name="parameter-name" value="langue"/> <map:when test="francais"> <map:transform src="stylesheets/participantsFR.xsl"> </map:transform> </map:when> <map:when test="anglais"> <map:transform src="stylesheets/participantsEN.xsl"/> </map:when> <map:otherwise> <map:transform src="stylesheets/participantsFR.xsl"/> </map:otherwise> </map:select> <map:serialize type="html"/> </map:match> But I would like also to pass another parameter 'tri ' to the selectionned stylesheet , and I don't know exactly which syntax I should use to combin Selector + stylesheet parameter: I've tried this: .... <map:parameter name="parameter-name" value="langue"/> <map:when test="francais"> <map:transform src="stylesheets/participantsFR.xsl"> <map:parameter name="use-request-parameters" value="true"/> <map:parameter name="tri" value="{critere}"/> </map:transform> </map:when> .... but it doesn't work. SOmeone could help me please? Thanks in advance, Cyril. --------------------------------------------------------------------- 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]>