Re: Variables and 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format