> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: maandag 13 maart 2006 13:01
> To: users@cocoon.apache.org
> Subject: i18n transformer doesn't translates attributes
> 
> 
> I have a strange problem.
> 
> Out of a generator i have the following tag
> 
> ...
> <area id="1" name="about_area" colour="FF0000" label="about_area"  
> i18n:attr="label">
> ...
> 
> After an i18n transformer, all "<i18n:text>" tags are correctly  
> translated but the tag above is unchanged and the attribute 
> "label" is  
> untranslated.
> 
> Any suggest?

Did you try:
<area id="1" name="about_area" colour="FF0000" i18n:attr="label">
        <xsl:attribute name="label">about_area</xsl:attribute>
</area>

(assuming it's in xsl)

Jasha Joachimsthal

---------

Hippo
Oosteinde 11
1017 WT Amsterdam
The Netherlands
+31 (0)20 5224466 

[EMAIL PROTECTED]
www.hippo.nl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to