cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Wiegard <Mathias.Wieg...@student.uni-ulm.de>
Subject Getting i18n by action in an sitemap aggregation
Date Sat, 26 Jul 2003 12:49:47 GMT
Hi,
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"/>
</map:aggregate>

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="??????????"/>
                    </map:transform>
                    <map:serialize/>
                </map:match>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message