[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: The output of evaluating an XSLT transform is the
> Not necessarily true. The evaluation of > > f(g(x)) > > requires that g(x) be evaluated, before f() can be evaluated. > Quite. A better way of expressing the rule would be "the order of evaluation of a set of expressions is constrained only by the functional dependencies that exist among the expressions, and the functional dependencies can always be statically determined." (But in reality there are further complications. Consider string-join(f(), g()). Saxon doesn't evaluate g() at all unless f() is a sequence of length 2 or more. So there appears to be a functional dependency from static analysis, but it's actually a conditional dependency.) Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
|
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
|