cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <jheini...@virbus.de>
Subject Re: i18n locale and web browser (IE, Mozilla)
Date Sun, 02 Nov 2003 00:52:53 GMT
> can i handle {locale} and change it from en_US to en inside sitemap?

If you do not want to rely on or use the functionality of the i18n 
transformer, you can use a JXPathInputModule I guess. Something like

<map:generate src="c_{
                       substring-before(concat(../locale, '_'), '_')
                      }/{1}.xml"/>

Regards,

Joerg



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


Mime
View raw message