cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Wiegard <>
Subject Getting i18n by action in an sitemap aggregation
Date Sat, 26 Jul 2003 12:49:47 GMT
I have a pipelines which elements are all surrounded by an "locale"-action".
At the first step in the first matcher I'm aggregating two xml files:
<map:aggregate element="site">
  <map:part src="cocoon:/book/index.xml"/>
  <map:part src="cocoon:/body/index.xml"/>

Now, I want to have access to locale to choose the language in which the two
pipelines result. I know that I somehow need to give the locale as paramter
(???????) but how? I tried {locale}, {../locale}, {/locale} but nothing was
successful... :(
One of the matchers as example:
<map:match pattern="body/index.xml">
                    <map:generate src="cocoon:/index.xml"/>
                    <map:transform src="style/blog2content.xsl">
                        <map:parameter name="locale" value="??????????"/>

Thanks in advance!!
P.S.: After the Aggregation, the i18n transformer is working fine without
any parameters...

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message