I am working on a news site, where every author can assign own xsl stylesheet to their article. I want to bring cocoon dynamically insert an article's path into the transformer src attribute.
I thought of generating an parameter inside the xsp for the following components an later catch it by the transformer. (How) can I do this? <map:match pattern="**article_*.html"> <map:act type="url-extract">^ <!-- Inside the generate the path info is extracted from db --> <map:generate src="logicsheets/get-articledata.xsp" type="xsp"> <map:parameter name="article-id" value="{../2}"/> </map:generate> </map:act> <map:transform src="transform/style-frame.xsl" type="xslt"/> <!-- here I want to access the path info --> <map:transform src="transform/{dynamic-path}" type="xslt"/> <map:transform src="transform/style-footer.xsl" type="xslt"/> <map:serialize type="html"/> </map:match> Thanks a lot! Robert --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>