Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/11/2005, 03:52
ghismo
 
Fecha de Ingreso: marzo-2004
Mensajes: 34
Antigüedad: 20 años, 11 meses
Puntos: 0
Hola ojota,

He cogido tu ejemplo y montando este xsl:
Código PHP:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
 <html>
   <head> 
    <title>Resultados</title> 
   </head> 
   <body>
    <h1>Resultados:</h1>
    <xsl:value-of select="(dvd/precio + 100)"/>  
   </body>  
 </html>
</xsl:template> 
</xsl:stylesheet>
funciona todo sin problemas. Suma 100 al precio.

Un saludo