[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: nesting xml

Subject: Re: nesting xml
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Thu, 3 May 2001 15:35:29 -0400
xsl template nesting
If you are not using the standard processor that comes with Internet
Explorer, then the xsl namespace is wrong.  It needs to be

xmlns:xsl="http://www.w3.org/1999/XSL/Transform

Aside from that, you don't have any template that matches the root of the
document.  So there is nothing for your template to work on.

You need to have a template that matches the root element ('/') or the
top-level named element (/ROOT in your example):

<xsl:template match='/ROOT'/>
...
</xsl:template>

Tom P

[Mark Kahn]

> 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>
>



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.