sorry, 'bout the Mulitple...(2) - posting
hit post-button by accident...
------------------------------------------------



---
<a href=" snowboarder/start " class="textlink">
<i18n:text i18n:key=" page.category.snowboarder "> snowboarder </i18n:text>
</a>
---

With this code the i18n fails.
i guess the spaces before and after the i18n-key is are to blame for that.

I cannot figure out why these spaces appear.



Code Snips, that generate the code above:
---
<link>
 <xsp:attribute name="href">
  <esql:get-string column="NAME"/>/start
 </xsp:attribute>
 <xsp:attribute name="id">
  page.category.<esql:get-string column="NAME"/>
 </xsp:attribute>
 <esql:get-string column="NAME"/>
</link>
---

and


---
<xsl:template match="link">
 <a class="textlink" href="[EMAIL PROTECTED]">
  <i18n:text i18n:key="[EMAIL PROTECTED]"> <xsl:apply-templates/> </i18n:text>
 </a> 
</xsl:template>
---



ps: thanks to jÃrg and carlos :-)
as you can see i changed my code.
multiple attributes are possible now.

peter


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

Reply via email to