[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Variables in match expressions

Subject: RE: Variables in match expressions
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 20 Apr 2006 16:40:14 +0100
RE:  Variables in match expressions
> but isn't that a waste of processing?

Yes, this restriction is a pain.

It was added to the XSLT 1.0 spec at the last minute in response to a
comment from me pointing out that you couldn't allow templates to depend on
variables if the variable could also depend on the template. It was a rather
drastic fix for a rather obscure problem, and we've had to live with it all
these years. It's not surprising that some vendors choose simply to ignore
the rule in the spec.

Michael Kay
http://www.saxonica.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.