[Home] [By Thread] [By Date] [Recent Entries]
Hello Hubert,
Hubert Holtz wrote: Hy, the Cocoon users list is a more appropriate forum for such a question: http://xml.apache.org/cocoon/mail-lists.html. I have a table called sites with an column for id,lang,XML,XSL, in my xsp- It sounds like the parameters must be passed to the sitemap for creating the correct pipeline. Therefore you need an action, not an XSP. example: <!-- pass XML and XSL as param to the sitemap -->
<map:match pattern="*">
<map:act type="getXmlAndXSLFromRequest">
<map:generate src="cocoon:/DB{xmlFromRequest}"/>
<map:transform src="cocoon:/DB{xslFromRequest}"/>
</map:act>
<map:serialize/>
</map:match><!-- get XML or XSL from DB - in which way ever --> <map:match pattern="DB*"> <map:generate/> <map:serialize type="xml"/> </map:match> This is only one approach, maybe there are better ones. Ask on Cocoon users list, because this question has not much to do with XSLT. Regards, Joerg Any idea how to manage this? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



