This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
nesting xml
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] nesting xml
- From: "Mark Kahn" <imail at cwolves dot com>
- Date: Thu, 3 May 2001 14:41:18 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
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