[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: First public working draft of XSLT 2.1
Hi Vladimir,
I understand your concerns but feel that you may be forgetting many very useful use cases and, if I understand well what you mean by "the worst effect will be from developers who will widely practice the "easiest" way to achieve desired effect with dynamic xpath", I would think that any function, instruction, or feature can be misused and typically is, sometimes. That does not mean that we should remove them all, does it? If you built smart XML layouts, for example, with embedded rules, to query/fetch content, for example, would you define your own rule language and create your custom rule language interpreter, or would you not do that and rather hardwire all your queries in the applications, forcing users to modify the applications if they need to change/add/remove queries and/or layouts, or would you prefer using xpath and evaluate(), or do you have some other way of handling this? Compilation and interpreters are not mutually exclusive and interpreters have proven their usefulness. Of course, if you compile to native code, without external run-time support, you probably need to handle run-time internally, and the less features to support, the less code you may have to write/compile/deploy, but again, removing everything may be even better. I am sorry to disagree, but evaluate() seems very valuable. We have more compelling use cases for it and I am happy that it will finally be part of the standard. OTOH, I agree that higher-order functions are indeed very useful too. Regards, ac I think, that the new xsl:evaluate instruction is the most harmful addition, as
|
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
|