<?xml version="1.0" ?>


<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns="http://www.w3.org/TR/REC-html40">

	<xsl:template match="/productDB">
		<html>
		<head>
			<title>
				Búsqueda de la base de datos XML Tools
			</title>
		</head>
		<body>
			<h1>Resultados de la búsqueda de la base de datos XML Tools</h1>
			
			<table border="1" width="100%">
				<tr>
					<td>Nombre del producto</td>
					<td>Versión del producto</td>
					<td>Precio del producto</td>
				</tr>
		<xsl:for-each select="product">
				<tr style="color:green">				
		
					<td>
					<xsl:value-of select="child::name"/>
					</td>
		
				
					<td>
					<xsl:value-of select="child::version"/>
					</td>
				
			
					<td>
					<xsl:value-of select="child::price"/>
					</td>

				</tr>
		</xsl:for-each>
			</table>
		</body>
		</html>
		
	</xsl:template>

</xsl:stylesheet>