|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: processing certain xml ,xsl file with xsp under co
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








