This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Xalan namespace problem


> I am using an xsl file with the namespace 
> "http://www.w3.org/TR/WD-xsl", and
> when I use it with IE-5, it rocks! But when I use that with 
> Xalan processor,
> it gives an error saying "version attribute required for the 
> stylesheet".

This namespace (despite appearances) refers to a Microsoft-proprietary
dialect of XSL based on a heavily modified version of an early W3C draft.
No-one except Microsoft supports it. All other processors, including Xalan,
support the W3C XSLT definition and use the W3C XSLT namespace.

The reason for the error message is that it's quite legitimate to have any
element you like as the outermost element of a stylesheet, but if it's
anything other than <xsl:stylesheet> with xsl set to the approved XSLT
namespace, then there must be an xsl:version attribute in the XSLT
namespace.

Mike Kay 

P.S. I think I now know that when an American says of software that "it
rocks", they regard this as a good thing. I had previously assumed the
opposite, since it sounds rather wobbly.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]