Subject: [xsl] Re: Re: Re: An issue with XPath 2.0 sequences (Was Re: RE: Muenchian method, and keys 'n stuff) From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Sat, 2 Feb 2002 22:48:54 -0800 (PST) |
> ... 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Algoritm for this Hierarc, Joerg Heinicke | Thread | [xsl] XPATH for attribute with diff, Edward . Middleton |
[xsl] Algoritm for this Hierarchy?, Ruggier, Mario | Date | Re: [xsl] Algoritm for this Hierarc, Joerg Heinicke |
Month |