[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: the joy of breaking out from procedural/imperative programming style (was: Re: [xsl] Peculiar Problem in .xsl file


Subject: Re: the joy of breaking out from procedural/imperative programming style (was: Re: [xsl] Peculiar Problem in .xsl file
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 6 Dec 2002 19:44:29 GMT


> #1 the function is data, but I'd have to do code generation to handle
>     it as data and then execute the generated style sheet to execute
>     the function. 

It's not clear how you'd map some standard FP constructs like "map"
in that model. It may be possible (Dimitre's shown anything's possible
in this area if you really set your mind to it:-) but It seems to me
that functions as first class objects that could be passed as arguments
to other functions could have been added to the model. and would have
been a whole lot cleaner and more useful than 1001 functions for
handling gxmlQueryDateTypes.


> #2 what do you mean when you say "shame about the rest of xpath2
>     though"?

if I had a vote I wouldn't let xpath2 drafts pass on to
w3c recommendation status. I think it's been hijacked into a database
query language for typed data at the expense of its original use for
querying documents at greatly at the expense of loss of cross platform
portability. See other threads on this list and xml-dev in the last
couple of days.

>  Aren't you one of the guys "in control" of that spec?
No. I'm just a user, I'm not on the working group.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread