cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: Leftover tags from I18n
Date Wed, 07 Aug 2002 17:02:06 GMT
Hmm, I have not enough information to see whether it's good or bad. It 
sounds not sooo bad ;-)

If still elements with i18n namespace prefix remain, check whether this 
prefix is bound to the correct namespace uri. Have a look at the XML before 
the i18n transformer transforms it and look whether the i18n namespace 
prefix is everywhere in the file bound to "".



Alex Romayev wrote:
> Thanks Joerg,
> You're right, it was something else and I did move the
> i18n to be the last step -- the tags are still there,
> but it doesn't seem to matter...
> Regarding html, I'm generating "coordinates-summary"
> as xhtml (hence, trasform type is "xml") and then
> aggregating with other modules within my "homepage",
> which is then aggregated with "navigation" in another
> pipleline (not shown).  Is there a better way of doing
> that?
> --- Joerg Heinicke <> wrote:
>>This works (without i18n) in general?
>>You serialize content/coordinates-summary as html
>>and include this in an 
>>aggregation. In my understanding this can't be
>>correct. Why aren't you using 
>>the i18n as last transformer before *finally*
>>serializing it before 
>>response. In your sitemap snippet this means (as far
>>as I can see) add it 
>>between these two lines:
>> >   <map:transform src="stylesheets/homepage.xsl"/>
>> >   <map:serialize type="xml"/>
>>Alex Romayev wrote:
>>>Hi, I'm having problems with i18n tags left after
>>>Transformation.  The resultant html does not seem
>>>like them too much :)
>>>The following fragment uses I18nTransformer:
>>><map:match pattern="content/coordinates-summary">
>>>  <map:generate src="content/coordinates.xml"/>
>>>  <map:transform
>>>  <map:transform type="i18n"/>
>>>  <map:serialize type="html"/>
>>>coordinates-summary.xsl includes:
>>>"        <a href="#"><i18n:text
>>>This fragment aggregates the results from the
>>>fragment and generates html.
>>><map:match pattern="content/homepage">
>>>  <map:aggregate element="page">
>>>    <map:part
>>>    ...
>>>  </map:aggregate>
>>>  <map:transform src="stylesheets/homepage.xsl"/>
>>>  <map:serialize type="xml"/>
>>>Any ideas?


System Development
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409

Please check that your question  has not already been answered in the
FAQ before posting.     <>

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

View raw message