Hello,
I'm looking at the i18n sample shipped with the cocoon 2.1.3 build. I would
like to know the meaning of
cocoon:/menu/{../0}
value="{../0}" value="{../../locale}
{request:contextPath}
in the followingsitemap snippet:
<map:resources> <!-- This resource is used to create a composite page from menu and content --> <map:resource name="composite"> <map:aggregate element="root"> <map:part src="cocoon:/menu/{../0}"/> <map:part src="cocoon:/content/{../0}" label="content"/> </map:aggregate> <map:transform type="xalan" src="simple2page.xsl"> <map:parameter name="page" value="{../0}"/> <map:parameter name="locale" value="{../../locale}"/> </map:transform> <map:transform src="context://samples/common/style/xsl/html/complex-page2html.xsl"> <map:parameter name="contextPath" value="{request:contextPath}"/> </map:transform> <map:serialize type="html"/> </map:resource> </map:resources>
How are the things in brackets resolved ?
It's a resource, so from somewhere it has been called. ../ refers to that calling pipeline, 0 to the uri that matched. request:contextPath is the call to an input module.
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
