[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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 |
> 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Variables and multiple xmlns, Ron . MacKenzie | Thread | RE: Variables and multiple xmlns, Kay Michael |
Variables and multiple xmlns, Ron . MacKenzie | Date | RE: Variables and multiple xmlns, Kay Michael |
Month |
Keywords