Hi all,
I am using cocoon for printing PDF files, so I'm receiving requests with XML datas and
have to choose the XSL stylesheet for transformation after the action.
So I try to have the sitemap with something like this
<map:match pattern="edit">
<map:act type="srvimp">
<map:parameter name="srvImpTypeAction" value="EDIT"/>
<map:generate type="xsp" src="web/xsp/EDITION.xsp"/>
<map:transform src="xsl/{my_sitemap_param}.xsl"/>
<map:serialize type="fo2pdf"/>
</map:act>
</map:match>
and in my srvimp action :
sitemapParams.put("my_sitemap_param", "test");
request.setAttribute("my_sitemap_param", "test");
It is KO (don't find xsl/.xsl)
A solution ? A confirmation it is not possible (after pipeline setup) ?
2 others solution i tried :
- Having xsl as templates in one stylesheet, but it is using too much memory (more
than 200 stylesheets)
- using redirection for transformation operation but i have an erratic comportment
(1*/10, the URL has moved ???)
Configuration :
- Cocoon 2.0.4
- Tomcat 4.1.*
- JDK 1.3.*,1.4.*
- OS Linux, W2000, AIX
Thx,
Ludovic
--
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite. Tout
message etant susceptible d'alteration, l'emetteur decline toute
responsabilite au titre de ce message s'il a ete altere, deforme ou
falsifie.
-----------------------------------
This message and any attachments (the "message") are confidential and
intended solely for the addressees. Any unauthorised use or
dissemination is prohibited. As e-mails are susceptible to alteration,
the issuer shall not be liable for the message if altered, changed
or falsified.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]