[xsl] nesting xml

Subject: [xsl] nesting xml
From: "Mark Kahn" <imail@xxxxxxxxxxx>
Date: Thu, 3 May 2001 14:41:18 -0500
can someone tell me what's wrong with this?  the xsl doesn't seem to match anything in the xml...mainly the line '<xsl:template match="text">':

XSL:

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl";>
<xsl:template match="text">
  <html>
  <body>
  hello
  </body>
  </html>
</xsl:template>
</xsl:stylesheet>

XML:

<?xml version="1.0"?>
<ROOT>
 <text>
  <definition>
   <color>
    content
   </color>
   <size>
    content
   </size>
   <font>
    content
   </font>
  </definition>
  <data>
   content
  </data>
 </text>
</ROOT>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread