Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/11/2004, 14:48
iuav
 
Fecha de Ingreso: abril-2004
Ubicación: Juli - Puno - Perú
Mensajes: 51
Antigüedad: 20 años
Puntos: 0
El código siguiente lo puedes insertar dentro de tu XSL.
Considerando que tu xml sería de esta manera
Código:
<teacher>
 <nombre>jorge</nombre> 
 <apellido>martinez</apellido> 
 <email>[email protected]</email> 
 <datos>su curriculum</datos> 
 <foto>maria.gif</foto>
 <web>http://maria.com</web> 
</teacher>
Para que puedas ver el mail es de la siguente manera
Código:
 <a>
  <xsl:attribute name="href">
    mailto:<xsl:value-of select="email"/>
  </xsl:attribute>
  <xsl:value-of select="email"/>
 </a>
Para ver la foto de la siguiente manera
Código:
<img>
  <xsl:attribute name="src">
     <xsl:value-of select="foto"/>
  </xsl:attribute>       
</img>
Y para que puedas ver la web del teacher es similar al de mail
Código:
<a>
 <xsl:attribute name="href">
   <xsl:value-of select="web"/>
 </xsl:attribute>
 <xsl:value-of select="web"/>
</a>
By.
__________________
Juli - La Pequeña Roma Aymara