XSL (after substitution) XLS Transformation Soure: http://localhost/portals/_default/xmlxst/estudis/doctorat_fitxa_curta.xsl <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" > <xsl:output method="html" /> <xsl:variable name="minuscules">abcdefghijklmnopqrstuvwxyzçñàáèéíòóú</xsl:variable> <xsl:variable name="majuscules">ABCDEFGHIJKLMNOPQRSTUVWXYZÇÑÀÁÈÉÍÒÓÚ</xsl:variable> <xsl:variable name="dades"> Dades generals $1 Datos generales $2 General data </xsl:variable> <xsl:variable name="objectius"> Objectius $1 Objetivos $2 Objectives </xsl:variable> <xsl:variable name="estructura"> Estructura $1 Estructura $2 Structure </xsl:variable> <xsl:variable name="organs"> Òrgans de direcció $1 Dirección $2 Management </xsl:variable> <xsl:variable name="linies"> Línies de recerca $1 Líneas de investigación $2 Research lines </xsl:variable> <xsl:variable name="info_admin"> Informació administrativa $1 Información administrativa $2 Administrative information </xsl:variable> <xsl:variable name="reclama"> Reclamacions $1 Reclamaciones $2 Complaints </xsl:variable> <xsl:variable name="contacte"> Contacte $1 Contacto $2 Contact </xsl:variable> <xsl:variable name="informacio"> Informació addicional $1 Información adicional $2 Additional information </xsl:variable> <xsl:variable name="nom"> Nom del màster $1 Nombre del máster $2 Name of the master </xsl:variable> <xsl:variable name="programa"> Programa oficial de postgrau $1 Programa oficial de postgrado $2 Official postgraduate programme (POP) </xsl:variable> <xsl:variable name="versio_cont"> Versió contínua $1 Versión continua $2 Coninuous version </xsl:variable> <xsl:variable name="centre"> Centre/s $1 Centro/s $2 Department/s and/or institute/s </xsl:variable> <xsl:variable name="unis_part"> Universitats participants $1 Universidades participantes $2 Participating universities </xsl:variable> <xsl:variable name="itineraris"> Itineraris $1 Itinerarios $2 Tracks </xsl:variable> <xsl:variable name="direccio"> Direcció i coordinació $1 Dirección y coordinación $2 Management and coordination </xsl:variable> <xsl:variable name="treball_rec"> Treball de recerca $1 Trabajo de investigación $2 Research work </xsl:variable> <xsl:variable name="places"> Nre. de places disponibles $1 N.º de plazas disponibles $2 Number of available places </xsl:variable> <xsl:variable name="matriculats"> Nre. d'estudiants matriculats $1 N.º de estudiantes matriculados $2 Number of registered students </xsl:variable> <xsl:variable name="presentacio"> Presentació $1 Presentación $2 Presentation </xsl:variable> <xsl:variable name="tutoria_tesis"> Tutoria de tesis $1 Tutoría de tesis $2 Thesis tutorial </xsl:variable> <xsl:variable name="info_addi"> Informació addicional $1 Información adicional $2 Additional information </xsl:variable> <xsl:variable name="pub_tesis"> Publicacions derivades de les tesis llegides $1 Publicaciones derivadas de las tesis leídas $2 Publications derived from doctoral theses read </xsl:variable> <xsl:variable name="indicadorsSeg"> Indicadors de seguiment: $1 Indicadores de seguimiento: $2 Monitoring indicators: </xsl:variable> <xsl:variable name="indicadorsTit"> Indicadors de la titulació $1 Indicadores de la titulación $2 Degree indicators </xsl:variable> <xsl:variable name="SistemaQ"> Sistema de qualitat: $1 Sistema de calidad: $2 Quality system: </xsl:variable> <xsl:variable name="ProcessosQ"> Processos de qualitat $1 Procesos de calidad $2 Quality processes </xsl:variable> <xsl:template match="/root/m"> <xsl:call-template name="llista"> </xsl:call-template> </xsl:template> <xsl:template name="llista" > <script type="text/javascript"> document.title = 'Estudis de la UdG: <xsl:value-of select="nom" />: <xsl:value-of select="//param/@onesmostra"/>'; </script> <a name="inici"></a> <!-- _________________________________________ MENU GENERAL ___________________________________________________--> <div class="menuxml"> <ul> <xsl:if test="string(codi)"> <li> <span class="menusAnchor"> <xsl:variable name="url1"> <xsl:choose> <xsl:when test="//param/@apartat=0">#ap1</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('?ap=1&ID=',codi,'&language=',//param/@llengua_nom,'&any=',//param/@anyacad)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$url1}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$dades"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </span> </li> </xsl:if> <xsl:if test="string(presentacio)"> <li> <span class="menusAnchor"> <xsl:variable name="url15"> <xsl:choose> <xsl:when test="//param/@apartat=0">#ap15</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('?ap=15&ID=',codi,'&language=',//param/@llengua_nom,'&any=',//param/@anyacad)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$url15}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$presentacio"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </span> </li> </xsl:if> <xsl:if test="string(objectius)"> <li> <span class="menusAnchor"> <xsl:variable name="url2"> <xsl:choose> <xsl:when test="//param/@apartat=0">#ap2</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('?ap=2&ID=',codi,'&language=',//param/@llengua_nom,'&any=',//param/@anyacad)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$url2}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$objectius"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> <xsl:value-of select="sigles" disable-output-escaping="yes"/> </a> </span> </li> </xsl:if> <xsl:if test="string(estructura)"> <li> <span class="menusAnchor"> <xsl:variable name="url3"> <xsl:choose> <xsl:when test="//param/@apartat=0">#ap3</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('?ap=3&ID=',codi,'&language=',//param/@llengua_nom,'&any=',//param/@anyacad)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$url3}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$estructura"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </span> </li> </xsl:if> <xsl:if test="string(organs_direccio)"> <li> <span class="menusAnchor"> <xsl:variable name="url4"> <xsl:choose> <xsl:when test="//param/@apartat=0">#ap4</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('?ap=4&ID=',codi,'&language=',//param/@llengua_nom,'&any=',//param/@anyacad)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$url4}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$organs"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </span> </li> </xsl:if> <xsl:if test="string(linies_recerca)"> <li> <span class="menusAnchor"> <xsl:variable name="url5"> <xsl:choose> <xsl:when test="//param/@apartat=0">#ap5</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('?ap=5&ID=',codi,'&language=',//param/@llengua_nom,'&any=',//param/@anyacad)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$url5}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$linies"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </span> </li> </xsl:if> <!-- <xsl:if test="string(tt_dir_tesis)"> Aquest apartat ha de sortir sempre --> <li> <span class="menusAnchor"> <xsl:variable name="url55"> <xsl:choose> <xsl:when test="//param/@apartat=0">#ap55</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('?ap=55&ID=',codi,'&language=',//param/@llengua_nom,'&any=',//param/@anyacad)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$url55}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$tutoria_tesis"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </span> </li> <!-- </xsl:if> --> <xsl:if test="string(publicacions_tesis)"> <li> <span class="menusAnchor"> <xsl:variable name="url56"> <xsl:choose> <xsl:when test="//param/@apartat=0">#ap56</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('?ap=56&ID=',codi,'&language=',//param/@llengua_nom,'&any=',//param/@anyacad)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$url56}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$pub_tesis"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </span> </li> </xsl:if> <xsl:if test="string(info_admin)"> <li> <span class="menusAnchor"> <xsl:variable name="url6"> <xsl:choose> <xsl:when test="//param/@apartat=0">#ap6</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('?ap=6&ID=',codi,'&language=',//param/@llengua_nom,'&any=',//param/@anyacad)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$url6}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$info_admin"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </span> </li> </xsl:if> <xsl:if test="string(reclamacions)"> <li> <span class="menusAnchor"> <xsl:variable name="url7"> <xsl:choose> <xsl:when test="//param/@apartat=0">#ap7</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('?ap=7&ID=',codi,'&language=',//param/@llengua_nom,'&any=',//param/@anyacad)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$url7}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$reclama"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </span> </li> </xsl:if> <!-- <xsl:if test="string(info_addicional)"> <li> <span class="menusAnchor"> <xsl:variable name="url8"> <xsl:choose> <xsl:when test="//param/@apartat=0">#ap75</xsl:when> <xsl:otherwise> <xsl:value-of select="concat('?ap=75&ID=',codi,'&language=',//param/@llengua_nom,'&any=',//param/@anyacad)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$url75}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$reclama"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </span> </li> </xsl:if>--> </ul> </div> <!-- ______________________________________ TITOL _____________________________________________________________--> <h4 class="titolnegreh4"> <xsl:value-of select="nom" disable-output-escaping="yes"/> </h4> <!-- ___________________________________________________Cos del contingut ________________________________________ --> <IMG style="margin:5px 10px;width:250px;" alt="El doctorat en imatges" SRC="/portals/_default/xmlxst/asp/imatge.asp?ID={//param/@idfoto}"/> <br/> <br/> <xsl:if test="//param/@apartat>0"> <br></br> <br></br> <div style="float:right;margin-top:-8ex;margin-right:3ex;" > <a href="?ap=0&ID={codi}&language={//param/@llengua_nom}&any={//param/@anyacad}" > <IMG SRC="/Portals/_default/xmlxst/estudis/icos/paperconti2.gif" style="border:0px;vertical-align:-10;" alt="versió contínua" /> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$versio_cont"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a > </div> </xsl:if> <!--________________________________________________________________COS___DADES GENERALS____________________________ --> <xsl:if test="//param/@apartat=1 or //param/@apartat=0"> <a name="ap1"/> <h5 class="subtitolblauh5"> <IMG style="vertical-align:-5;" SRC="/Portals/_default/xmlxst/estudis/icos/1.gif" alt="" /> <span > <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$dades"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </span> </h5> <table class="llistat3" summary="Dades generals de l'estudi"> <tbody> <tr > <th class="llistatfitxa" abbr="nom"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$nom"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </th> <td> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="nom" /> </xsl:call-template> </td> </tr> <tr > <th class="llistatfitxa" abbr="centre"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$centre"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </th> <td> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="centre" /> </xsl:call-template> </td> </tr> <xsl:if test="string(unis_participen)"> <tr > <th class="llistatfitxa" abbr="part"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$unis_part"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </th> <td> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="unis_participen" /> </xsl:call-template> </td> </tr> </xsl:if> <xsl:if test="string(itineraris)"> <tr > <th class="llistatfitxa" abbr="itineraris"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$itineraris"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </th> <td> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="itineraris" /> </xsl:call-template> </td> </tr> </xsl:if> <xsl:if test="string(direccio)"> <tr > <th class="llistatfitxa" abbr="direccio"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$direccio"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </th> <td> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="direccio" /> </xsl:call-template> </td> </tr> </xsl:if> <xsl:if test="string(treball_recerca)"> <tr > <th class="llistatfitxa" abbr="treball"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$treball_rec"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </th> <td> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="treball_recerca" /> </xsl:call-template> </td> </tr> </xsl:if> <xsl:if test="string(places)"> <tr > <th class="llistatfitxa" abbr="places"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$places"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </th> <td> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="places" /> </xsl:call-template> </td> </tr> </xsl:if> <xsl:if test="string(matriculats)"> <tr> <th class="llistatfitxa" abbr="matriculats"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$matriculats"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </th> <td> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="matriculats" /> </xsl:call-template> </td> </tr> </xsl:if> <tr > <th class="llistatfitxa" abbr="Informe seguiment"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$indicadorsSeg"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </th> <td> <a href="https://aserv.udg.edu/dstitulacions/taulell/public/{codi}"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$indicadorsTit"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </td> </tr> <tr> <th class="llistatfitxa" abbr="Sistema de qualitat"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$SistemaQ"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </th> <td> <a href="http://www.udg.edu/udgqualitat/Sistemainterndegarantiadelaqualitat/SIGQalaUdG/tabid/16273/language/ca-ES/Default.aspx"> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$ProcessosQ"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </a> </td> </tr> </tbody> </table> <br></br> <xsl:if test="//param/@apartat=0"> <p class="dret"> <a href="#inici"> <img src="/Portals/49/icones/amunt.GIF" alt="Amunt" title="Amunt" style="border: 0pt none ;" /> </a> </p> </xsl:if> </xsl:if > <xsl:if test="//param/@apartat=15 or (//param/@apartat=0 )"> <!--__________________________________________________________________COS________ Presentacio ________________________________ --> <xsl:if test="string(presentacio)"> <a name="ap15"/> <h5 class="subtitolblauh5"> <IMG style="vertical-align:-5;" SRC="/Portals/_default/xmlxst/estudis/icos/5.gif" alt="" /> <span > <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$presentacio"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </span> </h5> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="presentacio" /> </xsl:call-template> </xsl:if> <br></br> <xsl:if test="//param/@apartat=0"> <p class="dret"> <a href="#inici"> <img src="/Portals/49/icones/amunt.GIF" alt="Amunt" title="Amunt" style="border: 0pt none ;" /> </a> </p> </xsl:if> </xsl:if > <xsl:if test="//param/@apartat=2 or (//param/@apartat=0 )"> <!--__________________________________________________________________COS________ Objectius ________________________________ --> <xsl:if test="string(objectius)"> <a name="ap2"/> <h5 class="subtitolblauh5"> <IMG style="vertical-align:-5;" SRC="/Portals/_default/xmlxst/estudis/icos/objectius.gif" alt="" /> <span > <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$objectius"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </span> </h5> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="objectius" /> </xsl:call-template> </xsl:if> <br></br> <xsl:if test="//param/@apartat=0"> <p class="dret"> <a href="#inici"> <img src="/Portals/49/icones/amunt.GIF" alt="Amunt" title="Amunt" style="border: 0pt none ;" /> </a> </p> </xsl:if> </xsl:if > <xsl:if test="//param/@apartat=3 or //param/@apartat=0"> <!-- ________________________________________________________COS________Estructura _______________________________________ --> <xsl:if test="string(estructura)"> <a name="ap3"/> <h5 class="subtitolblauh5"> <IMG style="vertical-align:-5;" SRC="/Portals/_default/xmlxst/estudis/icos/curricular.gif" alt="" /> <span > <a name="estructura"></a> <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$estructura"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </span> </h5> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="estructura" /> </xsl:call-template> </xsl:if> <br></br> <xsl:if test="//param/@apartat=0"> <p class="dret"> <a href="#inici"> <img src="/Portals/49/icones/amunt.GIF" alt="Amunt" title="Amunt" style="border: 0pt none ;" /> </a> </p> </xsl:if> </xsl:if > <xsl:if test="//param/@apartat=4 or //param/@apartat=0"> <!-- ________________________________________________________COS________ Direcció _______________________________________ --> <xsl:if test="string(organs_direccio)"> <a name="ap4"/> <h5 class="subtitolblauh5"> <IMG style="vertical-align:-5;" SRC="/Portals/_default/xmlxst/estudis/icos/6.gif" alt="" /> <span > <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$organs"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </span> </h5> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="organs_direccio" /> </xsl:call-template> </xsl:if> <br></br> <xsl:if test="//param/@apartat=0"> <p class="dret"> <a href="#inici"> <img src="/Portals/49/icones/amunt.GIF" alt="Amunt" title="Amunt" style="border: 0pt none ;" /> </a> </p> </xsl:if> </xsl:if > <xsl:if test="//param/@apartat=5 or //param/@apartat=0"> <!-- ________________________________________________________COS________ linies recerca _______________________________________ --> <xsl:if test="string(linies_recerca)"> <a name="ap5"/> <h5 class="subtitolblauh5"> <IMG style="vertical-align:-5;" SRC="/Portals/_default/xmlxst/estudis/icos/objectius.gif" alt="" /> <span > <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$linies"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </span> </h5> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="linies_recerca" /> </xsl:call-template> </xsl:if> <br></br> <xsl:if test="//param/@apartat=0"> <p class="dret"> <a href="#inici"> <img src="/Portals/49/icones/amunt.GIF" alt="Amunt" title="Amunt" style="border: 0pt none ;" /> </a> </p> </xsl:if> </xsl:if > <xsl:if test="//param/@apartat=55 or //param/@apartat=0"> <!-- ________________________________________________________COS________ tutories tesis _______________________________________ --> <!-- <xsl:if test="string(tt_dir_tesis)"> Això ha de sortir sempre --> <a name="ap55"/> <h5 class="subtitolblauh5"> <IMG style="vertical-align:-5;" SRC="/Portals/_default/xmlxst/estudis/icos/2.gif" alt="" /> <span > <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$tutoria_tesis"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </span> </h5> <strong>Possibles directors de tesis</strong> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="tt_dir_tesis" /> </xsl:call-template> <!-- </xsl:if> --> <!--SUBBLOCS TESIS DOCTORALS LLEGIDES EN DIRECCIONS ANTERIORS DEL PROGRAMA--> <xsl:if test="string(TT_dir_treballs)"> <h6> <xsl:choose> <xsl:when test = "//@llengua = 1">Possibles directors de treballs de recerca</xsl:when> <xsl:when test = "//@llengua = 2">Posibles directores de trabajos de investigación</xsl:when> <xsl:when test = "//@llengua = 3">Possible research directors</xsl:when> </xsl:choose> </h6> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="TT_dir_treballs" /> </xsl:call-template> </xsl:if> <!--SUBBLOCS Tesis doctorals llegides en edicions anteriors del programa--> <br></br> <br></br> <h6> <a href="/Default.aspx?tabid=7041&codi={codi_pop}"> <xsl:choose> <xsl:when test = "//@llengua = 1">Tesis doctorals llegides en edicions anteriors del programa</xsl:when> <xsl:when test = "//@llengua = 2">Tesis doctorales leídas en ediciones anteriores del programa</xsl:when> <xsl:when test = "//@llengua = 3">Doctoral theses read in previous years of the programme</xsl:when> </xsl:choose> </a> </h6 > <br></br> <xsl:if test="//param/@apartat=0"> <p class="dret"> <a href="#inici"> <img src="/Portals/49/icones/amunt.GIF" alt="Amunt" title="Amunt" style="border: 0pt none ;" /> </a> </p> </xsl:if> </xsl:if > <xsl:if test="//param/@apartat=56 or //param/@apartat=0"> <!-- ________________________________________________________COS________ Publicacions Tesis _______________________________________ --> <xsl:if test="string(publicacions_tesis)"> <a name="ap56"/> <h5 class="subtitolblauh5"> <IMG style="vertical-align:-5;" SRC="/Portals/_default/xmlxst/estudis/icos/3.gif" alt="" /> <span > <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$pub_tesis"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </span> </h5> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="publicacions_tesis" /> </xsl:call-template> </xsl:if> <br></br> <xsl:if test="//param/@apartat=0"> <p class="dret"> <a href="#inici"> <img src="/Portals/49/icones/amunt.GIF" alt="Amunt" title="Amunt" style="border: 0pt none ;" /> </a> </p> </xsl:if> </xsl:if > <xsl:if test="//param/@apartat=6 or //param/@apartat=0"> <!-- ________________________________________________________COS________ info admin _______________________________________ --> <xsl:if test="string(info_admin)"> <a name="ap6"/> <h5 class="subtitolblauh5"> <IMG style="vertical-align:-5;" SRC="/Portals/_default/xmlxst/estudis/icos/3.gif" alt="" /> <span > <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$info_admin"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </span> </h5> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="info_admin" /> </xsl:call-template> </xsl:if> <br></br> <xsl:if test="//param/@apartat=0"> <p class="dret"> <a href="#inici"> <img src="/Portals/49/icones/amunt.GIF" alt="Amunt" title="Amunt" style="border: 0pt none ;" /> </a> </p> </xsl:if> </xsl:if > <xsl:if test="//param/@apartat=7 or //param/@apartat=0"> <!-- ________________________________________________________COS________ reclamacions _______________________________________ --> <xsl:if test="string(reclamacions)"> <a name="ap7"/> <h5 class="subtitolblauh5"> <IMG style="vertical-align:-5;" SRC="/Portals/_default/xmlxst/estudis/icos/4.gif" alt="" /> <span > <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$reclama"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </span> </h5> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="reclamacions" /> </xsl:call-template> </xsl:if> <br></br> <xsl:if test="//param/@apartat=0"> <p class="dret"> <a href="#inici"> <img src="/Portals/49/icones/amunt.GIF" alt="Amunt" title="Amunt" style="border: 0pt none ;" /> </a> </p> </xsl:if> </xsl:if > <xsl:if test="//param/@apartat=8 or //param/@apartat=0"> <!-- ________________________________________________________COS________ info_addional _______________________________________ --> <xsl:if test="string(info_addicional)"> <a name="ap8"/> <h5 class="subtitolblauh5"> <IMG style="vertical-align:-5;" SRC="/Portals/_default/xmlxst/estudis/icos/3.gif" alt="" /> <span > <xsl:call-template name="tradueix"> <xsl:with-param name="text" select="$info_addi"></xsl:with-param> <xsl:with-param name="llengua" select="//param/@llengua"></xsl:with-param> </xsl:call-template> </span> </h5> <xsl:call-template name="tracta" > <xsl:with-param name="ptext" select="info_addicional" /> </xsl:call-template> </xsl:if> <br></br> <xsl:if test="//param/@apartat=0"> <p class="dret"> <a href="#inici"> <img src="/Portals/49/icones/amunt.GIF" alt="Amunt" title="Amunt" style="border: 0pt none ;" /> </a> </p> </xsl:if> </xsl:if > </xsl:template> <!-- ************************************************************************************************************* Fi traducció ************************************************************************************************************* --> <xsl:template name="tradueix"> <xsl:param name="text"/> <xsl:param name="llengua"/> <xsl:choose> <xsl:when test="$llengua=1"> <xsl:value-of select="substring-before($text,'$1')"/> </xsl:when> <xsl:when test="$llengua=2"> <xsl:value-of select="substring-before(substring-after($text,'$1'),'$2')"/> </xsl:when> <xsl:when test="$llengua=3"> <xsl:value-of select="substring-after($text,'$2')"/> </xsl:when> </xsl:choose> </xsl:template> <xsl:template name='tracta'> <xsl:param name='ptext' /> <xsl:variable name="dt0"> <!-- Canvia ]Chr(13) per </h4> --> <xsl:call-template name="replace-string" > <xsl:with-param name="text" select="$ptext" /> <xsl:with-param name="from" select="'] '"/> <xsl:with-param name="to" select="'</h4>'"/> </xsl:call-template> </xsl:variable> <xsl:variable name="dt1"> <!-- Canvia Chr(13) per <br/> --> <xsl:call-template name="replace-string" > <xsl:with-param name="text" select="$dt0" /> <xsl:with-param name="from" select="' '"/> <xsl:with-param name="to" select="'<br/>'"/> </xsl:call-template> </xsl:variable> <xsl:variable name="dt2"> <xsl:call-template name="replace-string" > <!-- Canvia [ per <h4> --> <xsl:with-param name="text" select="$dt1" /> <xsl:with-param name="from" select="'['"/> <xsl:with-param name="to" select="'<h4>'"/> </xsl:call-template> </xsl:variable> <xsl:variable name="dt3"> <xsl:call-template name="replace-string" > <!-- Canvia ] per </h4> --> <xsl:with-param name="text" select="$dt2" /> <xsl:with-param name="from" select="']'"/> <xsl:with-param name="to" select="'</h4>'"/> </xsl:call-template> </xsl:variable> <xsl:variable name="dt4"> <xsl:call-template name="replace-string" > <!-- Canvia { per <b> --> <xsl:with-param name="text" select="$dt3" /> <xsl:with-param name="from" select="'{'"/> <xsl:with-param name="to" select="'<b>'"/> </xsl:call-template> </xsl:variable> <xsl:variable name="dt5"> <xsl:call-template name="replace-string" > <!-- Canvia } per </b> --> <xsl:with-param name="text" select="$dt4" /> <xsl:with-param name="from" select="'}'"/> <xsl:with-param name="to" select="'</b>'"/> </xsl:call-template> </xsl:variable> <xsl:value-of select="$dt5" disable-output-escaping="yes"/> </xsl:template > <xsl:template name='convertcase'> <xsl:param name='toconvert' /> <xsl:param name='conversion' /> <xsl:choose> <xsl:when test='$conversion="lower"'> <xsl:value-of select="translate($toconvert,$majuscules,$minuscules)" /> </xsl:when> <xsl:when test='$conversion="upper"'> <xsl:value-of select="translate($toconvert,$minuscules,$majuscules)" /> </xsl:when> <xsl:when test='$conversion="proper"'> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert'> <xsl:value-of select="translate($toconvert,$majuscules,$minuscules)" /> </xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select='$toconvert' /> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name='convertpropercase'> <xsl:param name='toconvert' /> <xsl:variable name='s' select='$toconvert' /> <xsl:if test="string-length($toconvert) > 0"> <xsl:choose> <xsl:when test="contains($s,'(')"> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-before($s,"(")' /> </xsl:call-template> <xsl:text>(</xsl:text> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-after($s,"(")' /> </xsl:call-template> </xsl:when> <xsl:when test="contains($s,' i ')"> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-before($s," i ")' /> </xsl:call-template> <xsl:text> i </xsl:text> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-after($s," i ")' /> </xsl:call-template> </xsl:when> <xsl:when test="contains($s,' de ')"> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-before($s," de ")' /> </xsl:call-template> <xsl:text> de </xsl:text> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-after($s," de ")' /> </xsl:call-template> </xsl:when> <xsl:when test="contains($s,' la ')"> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-before($s," la ")' /> </xsl:call-template> <xsl:text> la </xsl:text> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-after($s," la ")' /> </xsl:call-template> </xsl:when> <xsl:when test="contains($s,' del ')"> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-before($s," del ")' /> </xsl:call-template> <xsl:text> del </xsl:text> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-after($s," del ")' /> </xsl:call-template> </xsl:when> <xsl:when test="contains($s,' d"')"> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select="substring-before($s,' d"')" /> </xsl:call-template> <xsl:text> d"</xsl:text> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select="substring-after($s,' d"')" /> </xsl:call-template> </xsl:when> <xsl:when test="contains($s,' ')"> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-before($s," ")' /> </xsl:call-template> <xsl:text> </xsl:text> <xsl:call-template name='convertpropercase'> <xsl:with-param name='toconvert' select='substring-after($s," ")' /> </xsl:call-template> </xsl:when> <xsl:when test ="not( contains($s,' '))"> <xsl:variable name='p' select='substring($s, 1, 1)' /> <xsl:call-template name='convertcase'> <xsl:with-param name='toconvert' select='$p' /> <xsl:with-param name='conversion'>upper</xsl:with-param> </xsl:call-template> <xsl:value-of select= 'substring($s,2)' /> </xsl:when> <xsl:otherwise> <xsl:value-of select='$s' /> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:template> <xsl:template name="replace-string"> <xsl:param name="text"/> <xsl:param name="from"/> <xsl:param name="to"/> <xsl:choose> <xsl:when test="contains($text, $from)"> <xsl:variable name="before" select="substring-before($text, $from)"/> <xsl:variable name="after" select="substring-after($text, $from)"/> <xsl:variable name="prefix" select="concat($before, $to)"/> <xsl:value-of select="$before"/> <xsl:value-of select="$to"/> <xsl:call-template name="replace-string"> <xsl:with-param name="text" select="$after"/> <xsl:with-param name="from" select="$from"/> <xsl:with-param name="to" select="$to"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$text"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet> --