hay va el codigo amigo . Ojalas lo leas y me ayudes
esto es tienda.xml
Código:
<?xml version="1.0" encoding='ISO-8859-1'?>
<?xml-stylesheet href="tienda.xsl" type="text/xsl"?>
<tienda>
<nombre>La tiendecilla </nombre>
<telefono>953 87 12 23 </telefono>
</tienda>
y el xsl o sea tienda.xsl
Código:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match='/'>
<html>
<head><title>Generado con tienda-html.xsl</title></head>
<body>
<h1> <xsl:apply-templates /> </h1>
</body>
</html>
</xsl:template>
</xsl:stylesheet>