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:matchers>
.
.
<map:matcher name="id" src="org.apache.cocoon.matching.RequestParameterMatcher"/>
.
</map:matchers>
.
.
.
<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">
</map:transform>
<map:serialize/>
</map:match>
</map:match>
the http request will be something like this http://www.jk.com/xsp/invoice-control?id=25
XSP generates the required XML from id=25 and we want the style sheet to be applied.
For some reason this does not work.
Please help. -Raman
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
