[EMAIL PROTECTED] wrote:
Hi, In the sitemap, in a pipeline, after xsl transfomration, I am gettign an xml file. After that I am calling <map:call resource> to zip the contents using zipArchiveSerialzer. Now I am gettign the document title as an attribute to the root element in my xml. Following is my xml which is dynamically created using XSL transformation: <?xml version="1.0" encoding="UTF-8"?> <zip:archive xmlns:zip="http://apache.org/cocoon/zip-archive/1.0" title="sometitle.zip"> <zip:entry name="xyz.ppt" src="soemURL"/> <zip:entry name="abc.pdf" src="someURL"/> </zip:archive>
My problem is: Now how can I pass the title attibute to <map:call resource="someresoource">?
Why do you want to pass it as an attribute? Explain a bit more, there might be another way to achieve what you want. There is no easy way to extract xml contents and pass it somehow as a parameter through the pipeline. It is counter-intuitive as well, as your xml contents flows through the whole pipeline anyway, so why passing it once more?
Jorg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
