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]
Other format: [Raw text]

RE: Hello World


[Jim Fuller said]
>> in actuality the XSLT 1.0 spec states 'F. Changes from Proposed
>> Recommendation' that an xsl:version attribute is required on a literal
>> result element used as a stylesheet. Which means pedantically that
>> xsl:version can be omitted as this is a non-normative recc.

[David Carlisle said]
>No the changes appendix is non normative but the change itself is
>normative.

>the definition of the stylsheet element (2.2) says

[Jim Fuller said]
>> An xsl:stylesheet element must have a version attribute, 

[David Carlisle said]
>and the simplified syntax (2.3) says

[Jim Fuller said]
>> A literal result element that is the document element of a stylesheet
>> must have an xsl:version attribute, 


but element (the only element, therefore also the doc ele) is not defined as
a stylesheet element its an "a" element that has an xslt 1.0 namespace
declaration within its context ... but it doesn't belong to the namespace
nor is it an xslt stylesheet element.  

So is the xslt version attribute declaration still needed?


-----Original Message-----
From: David Carlisle [mailto:davidc@nag.co.uk]
Sent: Wednesday, June 19, 2002 1:22 PM
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] Hello World



> in actuality the XSLT 1.0 spec states 'F. Changes from Proposed
> Recommendation' that an xsl:version attribute is required on a literal
> result element used as a stylesheet. Which means pedantically that
> xsl:version can be omitted as this is a non-normative recc.

No the changes appendix is non normative but the change itself is
normative.

the definition of the stylsheet element (2.2) says

> An xsl:stylesheet element must have a version attribute, 

and the simplified syntax (2.3) says

> A literal result element that is the document element of a stylesheet
> must have an xsl:version attribute, 

David


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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

 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]