hi konstantin
i know how to make a src file selection based to requested url using matches http://...../el/test http://...../en/test <map:match pattern="*/*"> <map:generate src="{1}_{2}.xml"/> </map:patch> but how can do something similar using parameter? http://..../test?locale=el http://..../test?locale=en using {1} or {2} i refer to first or second * in pattern but how can i refer to locale prameter value inside <map:match/> ? thnx stavros On Mon, 30 Dec 2002, Konstantin Piroumian wrote: > From: "Cocoon User" <[EMAIL PROTECTED]> > > > > > hy people > > > > i have found very usefull the i18n processing > > but what happend when you have large text? > > It's not recommended to use i18n transformer for large texts. There are > several other ways to solve that task: use XInclude/CInclude, XSLT with > document() function, sitemap aggregation, etc. Another possibility is to use > separate content files for different languages, e.g: index_en.xml, > index_ru.xml, ..., and then use an action or an input module to retrieve the > needed one based on the user's locale (you can use LocaleAction and its > 'language' sitemap parameter). > > > > > > > > > is it possible for catalogues to retrieve data from an sql server > > mySQL for example > > Recently there was commited a patch that allowed to use any source as input > for the XML catalogue, so you can easily use 'cocoon:/' protocol or any > other to retrieve your dictionary data from a database. Note, that > implementation of i18n and especially the catalogue handling part is quite > different in 2.0.x and 2.1-dev versions. > > Konstantin > > > > > > > xml page -ID-> catalogue -ID-> data from SQL > > > > > > thnx > > > > stavros > > > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>