OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: gentext problem


Hello,

I want to use gentext for generating localized name strings for navigation tabs in our web help. For now it applies only to index tab.

In my stylesheet I use this template call to generate approriate language string for index.

<xsl:if test="$generate.webhelp.index != 0">

� <td>

��� <a href=""#"" rel="tab3" id="t3">

����� <img src=""images/iview.gif"/>

����� <xsl:call-template name="gentext">

������� <xsl:with-param name="key" select="'index'" />

����� </xsl:call-template>

��� </a>

� </td>

</xsl:if>

 

Nevertheless I do not get string for index in Czech but rather in English. I am wondering what I am doing wrong becase I use the same call elsewhere in the stylesheet for breadcrumb navigation.

 

<xsl:when test="$current.node = //d:index">

����������������������� <xsl:if test="not(//d:index/d:title)">

��������������������������� <strong>

������������������������������� <xsl:call-template name="gentext">

����������������������������������� <xsl:with-param name="key" select="'index'"/>

������������������������������� </xsl:call-template>

��������������������������� </strong>

����������������������� </xsl:if>

�� ��������</xsl:when>

 

 

Pavel �kop�k



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]