ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: [xsl] reliability of MSXML
by David Carlisle other posts by this author
Nov 7 2001 12:28PM messages near this date
RE: [xsl] progress towards 2.0 (was: reliability of MSXML) | Re: [xsl] Re: lookup-table thoughts (was Re: matching multiple times, outputting once?
>  How reliable is MS's XSLT technology on the client side ??
 
 Despite being a product of the evil empire I have to admit that it is in
 fact rather good.
 
 In this case Your stylesheet is in error. Using xsl:variable with non
 empty content produces a result tree fragment not a node set, so you can
 not query into $items using /. You can use an extension function to
 convert the variable to a node set eg msxsl:node-set($items)/token
 
 Saxon implements the (orphaned) XSLT 1.1 working draft.
 
 XSLT 1.1 got rid of result-tree fragment restrictions and allowed
 xsl:variable to creat node sets directly. This is a good thing but
 unfortunately XSLT 1.1 was drafted in such a way that it is possible to
 use 1.1 features with _having_ to declare version="1.1" in the
 xsl:stylesheet. I hope XSLT 2.0 will not make this mistake as it does,
 as you see, have a bad effect on portability.
 
 You can use node-set() with saxon as well (either in saxon's extension
 namespace or exslt's).
 
 
 >  Is there any brand new version of MSXML more "adherent" to XSLT 1.0
 >  specifications (what about the XSLT processor in the IE 6.0) ?
 
 XSLT 1.0 (which is what is specifying the error message you see) is a
 recommendation.
 
 XSLT 1.1 is a working draft that explictly will not now be progressed on
 to a recommendation so I have to say Microsft is fully adherent here.
 In fact, early beta releases of msxsl3 did not enforce this restriction
 (so your stylesheet would have worked) but people complained and
 Microsoft added this error check in order to conform.
 
 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
 
Thread:
Tom Myers
Pedro Pastor
Pedro Pastor
Michael Kay
Daniel Veillard
Trevor Nash
Daniel Veillard
Michael Kay
Daniel Veillard
Michael Kay
David Carlisle
Kevin Jones
Michael Kay
Kevin Jones
David Carlisle
Jeni Tennison
Tom Myers
Jeni Tennison
Michael Kay
Jeni Tennison
Dimitre Novatchev
cutlass
Jeni Tennison
Mark Nahabedian
Dimitre Novatchev
Tom Myers
Michael Kay
David Carlisle
Tom Myers
David Carlisle
David Carlisle
Jeni Tennison

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved