Re: [xsl] Multilanguage help

Subject: Re: [xsl] Multilanguage help
From: António Mota <amsmota@xxxxxxxxx>
Date: Tue, 14 Feb 2006 17:48:44 +0000
Look at document() in xsl, and also search the archives, there were
some posts regrading that in the past...

On 14/02/06, Guillem Rico <grico@xxxxxxxxxx> wrote:
>
> Hi, I'm trying  to do a Multilanguage XSL, but I don't know how...
>
> I have a XML file (with data), and the XML is Ok translated, So I only need
> to transalte Fields of tables placed into XSL...
>
> I think I could store the translations maybe in another XML, but I don't
> know how to call the another XSL into an XSL (if I could), or wich is the
> best way to do it
>
> I don't know what to do...any ideas??
>
> I'm a XSL begginner, please if you could send some examples
>
> Thanks
>
>
>
>
>
> .
>
> .
>
> .
>
> .
>
> <table border="0" cellpadding="0" cellspacing="0"
width="90%"align="center">
>
>
> <xsl:variable name="serv" select="/PICA/DATA/REGISTRE/Servicio" />
>
> <tr><td align='right'><ahref="../datos/fr.html?serv={$serv}?t=t">Todos
</a>
>
> <a href="../datos/fr.html?serv={$serv}?t=2">Quirzrgicos  </a>
>
> <a href="../datos/fr.html?serv={$serv}?t=1">Midicos</a></td></tr>
>
> </table>
>
>
>
> <table border="0" cellpadding="0" cellspacing="0"
width="90%"align="center">
>
>       <tr>
>
>                         <td class="inici"> Grd
</td>
>
>                         <td class="inici">CDM
</td>
>
>                         <td class="inici" width="3%">T     </td>
>
>                         <td class="inici">Descripcion       </td>
>
>                         <td class="inici">N
> </td>
>
>                         <td class="inici">PNh
> </td>
>
>                         <td class="inici">PNstd
> </td>
>
>                         <td class="inici">Nobs-Nesp              </td>
>
>                         <td class="inici">Peso
> </td>       </tr>
>
>
>
>
>
>
>
>       <xsl:for-each select="PICA/DATA/REGISTRE">
>
>       <xsl:sort data-type="number" select="N" order="descending" />
>
>
>
>       <tr>
>
>       <xsl:choose>
>
>       <xsl:when test="position() &lt; '20'">
>
>       <xsl:choose>
>
> .
>
> .
>
> .
>
> .

Current Thread