On 02.06.2004 00:51, Peter KrÃpfl wrote:
<a href=" snowboarder/start " class="textlink"> <i18n:text i18n:key=" page.category.snowboarder "> snowboarder </i18n:text> </a> ---
With this code the i18n fails.
Ah, now I get confirmed what I already guessed :)
i guess the spaces before and after the i18n-key is are to blame for that.
Indeed.
I cannot figure out why these spaces appear.
That's simple:
> <xsp:attribute name="href"> > <esql:get-string column="NAME"/>/start > </xsp:attribute>
Before the esql:get-string element you have a line break and spaces and the text node "/start" also does not end at the 't' but with a line break and the space(s) infront of </xsp:attribute>. You can either write it all in one line:
<xsp:attribute name="href"><esql:get-string column="NAME"/>/start</xsp:attribute>
or fix it in the stylesheet using normalize-space() that removes leading and trailing white spaces.
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]