This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: nesting xml
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] nesting xml
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Thu, 3 May 2001 20:01:33 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
You are using the wrong namespace.
XML/XSL Portal
http://www.bayes.co.uk/xml
>-----Original Message-----
>From: owner-xsl-list@lists.mulberrytech.com
>[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Mark Kahn
>Sent: 03 May 2001 20:41
>To: xsl-list@lists.mulberrytech.com
>Subject: [xsl] nesting xml
>
>
>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
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list