|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: OOXML
> Yes -- strictly speaking XSLT and XQuery are declarative and > not functional -- functions are not first-class objects and > the languages are not based on the lambda calculus & > combinator theory. > > People use the term "functional" loosely to mean > "declarative", I wouldn't be quite so prescriptive in the terminology. As with OO, functional programming is an "orientation" rather than a set of conformance rules. Yes, neither language has higher-order functions (though as everyone on this list knows, XSLT can simulate them quite well with nodes linked to dynamic templates acting as a surrogate for a higher-order function); but the most important characteristic of functional programming is the use of functional composition as the execution model, with no distinction between expressions and statements. Both languages have that (though XQuery is becoming less pure over time, it seems.) Michael Kay http://www.saxonica.com/
|
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
|






