xsl-list
[Top] [All Lists]

Re: Multilanguage help

2006-02-14 10:48:44
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(_at_)iasist(_dot_)com> 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">Quirúrgicos  </a>

<a href="../datos/fr.html?serv={$serv}?t=1">Médicos</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>

.

.

.

.







--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>