cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raman Jankiram" <>
Subject Request Parameter based Stylesheet selection
Date Thu, 07 Aug 2003 20:21:54 GMT
I have been struggling with this problem for the the past few days with 

I have a XSP which generates XML (typical generator). I want to pick style 
sheet based on the request parameters.

I have the sitemap like this
  <map:matcher  name="id" 
<map:match pattern="xsp/invoice-control">
    <map:generate src="docs/xsp/invoice-control.xsp" type="serverpages"/>
      <map:match name="id" pattern="**" >
        <map:transform src="invoicepresentation/xsl/report-{1}.xsl">

the http request will be something like this

XSP generates the required XML from id=25 and we want the style sheet to be 

For some reason this does not work.

Please help.

Add photos to your e-mail with MSN 8. Get 2 months FREE*.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message