Peter Kröpfl Escribio :-)
> Carlos Ch�vez <cchavez <at> agsoftware.dnsalias.com>
> writes:
>
>>
>> Joerg Heinicke Escribio
>> > On 01.06.2004 22:13, Carlos Chávez wrote:
>> >
>> >>><link>
>> >>> <xsp:attribute>
>> >>>   <xsp:param name="name">id</xsp:param>
>> >>>   page.category.<esql:get-string column="NAME"/>
>> >>> </xsp:attribute>
>> >>> <xsp:attribute>
>> >>>   <xsp:param name="name">href</xsp:param>
>> >>>   <esql:get-string column="NAME"/>/start
>> >>> </xsp:attribute>
>> >>> <esql:get-string column="NAME"/>
>> >>></link>
>> >>
>>
>>   it work, i never used. maybe in the stylesheet is the problem.
>>
>
> Here is the code from the stylesheet
>
> <xsl:template match="link">
> <a class="textlink" href="[EMAIL PROTECTED]">
>  <i18n:text i18n:key="[EMAIL PROTECTED]"> <xsl:apply-templates/> </i18n:text>
> </a>
> </xsl:template>

  Hi,
  you want that "id" is a key i18n? if it is thus then

  <xsl:template match="link">
   <a class="textlink" href="[EMAIL PROTECTED]" id="[EMAIL PROTECTED]" i18n:attr="id">
       ...
   </a>
  </xsl:template>

  where i18n:attr say what attribute have to be translated too.

  is that correct ?

  Cheers,
  Carlos Ch�vez.

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


-- 
Carlos Ch�vez

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

Reply via email to