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

Re: Variables and multiple xmlns

Subject: Re: Variables and multiple xmlns
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 1 Feb 2000 10:15:14 GMT
multiple xmlns
> I am
> not sure if the stylesheet header is legal, and secondly even if it is
> strictly legal will it work for what I want to do?

It is legal but we can't say if it will work because you haven't said
what you are using.

   xmlns:xsl="http://www.w3.org/TR/WD-xsl"
   xmlns:xslt="http://www.w3.org/1999/XSL/Transform"

this defines xsl: to be the prefix for ie5 flavoured xsl and xslt:
to be the prefix for w3c flavoured xsl. So, are you using ie5 or
or a conforming XSL system?

Your template command used <xsl:template rather than <xslt:template
so it will be a template to ie5 but just an ignored top level element
from a foreign namespace to a conforming XSL engine.

<xsl:template match="ENTRY">
        <xslt:variable name="spancols">2</xslt:variable>

ie5 will not recognise the xslt:variable command.

It looks like your sheet would work if you changed all your xsl:xxxx to
xslt:xxxx, but it depends what you really wanted to do, why you had both
namespaced declared?

David


 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.