cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bàrbara Gelabert <>
Subject Problem using multiple catalogues
Date Fri, 22 Feb 2008 08:46:13 GMT
Hi all,

I'm trying to use multiple catalogues in my sitemap.xmap file but it 
seems that the transformer only recognizes one of them.
Does anybody know how to read from more than one catalogue for a unique 

Here you are a code snippet from my sitemap.xmap:

<map:transformer name="i18n" 
  <catalogues default="catalogue1">
    <catalogue id="catalogue1" name="catalogue1" 
location="resources/i18n" />
    <catalogue id="catalogue2" name="catalogue2" 
location="../../resources/i18n" />

And the match entry:

<map:match pattern="page.html">
  <map:generate src="resources/xml/data.xml" />
  <map:transform src="resources/xsl/stylesheet.xsl" />
  <map:transform type="i18n"><!-- This only reads from catalogue1 -->
    <map:parameter name="locale" value="ca" />
  <map:serialize type="html" />

Thanks a lot!

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

View raw message