|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: Re: An issue with XPath 2.0 sequences (Was Re:
> ... then one finds that > iterating over lists is just about the most common and fundamental > paradigm, however it will be virtually impossible to port any of these > standard programming techniques to XSLT as the list mechanism is so > bizarre. One can do it (as Dimitre has shown in XSLT 1) by faking > everything with node sequences, but that means that the sequence > possibilities added in Xpath2 are not being used at all, and will mean > as you have commented before a lot of overhead in generating things > with identity when that isn't really needed. To summarise: If we are designing a new language why not try to make it a really good one? Not that the present XPath 2.0 WD is not good, but it would be made much better just by adding the following three features: - higher-order functions. - typed sequences. - allow sequences to have elements that are also sequences. It is as simple as that. Cheers, Dimitre. __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








