cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bàrbara Gelabert <barbara.gelab...@uib.es>
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 
transformation?

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

<map:transformer name="i18n" 
src="org.apache.cocoon.transformation.I18nTransformer">
  <catalogues default="catalogue1">
    <catalogue id="catalogue1" name="catalogue1" 
location="resources/i18n" />
    <catalogue id="catalogue2" name="catalogue2" 
location="../../resources/i18n" />
  </catalogues>
  <untranslated-text>Untranslated</untranslated-text>
  <cache-at-startup>false</cache-at-startup>
</map:transformer>

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


Thanks a lot!
Barbara

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


Mime
View raw message