[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Vendor extensions for XSLT - higher order fun

Subject: Re: Re: Vendor extensions for XSLT - higher order functions
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Mon, 23 Jul 2007 09:09:00 -0700
Re: Re:  Vendor extensions for XSLT - higher order  fun
On 7/23/07, cknell@xxxxxxxxxx <cknell@xxxxxxxxxx> wrote:
You do yourself a favor when you listen to criticism, especially well-intentioned criticism from a source with experience in the field.


Oh, my statement on the need to learn was not a criticism -- just
stating a fact.


--
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Sent:     Mon, 23 Jul 2007 06:52:36 -0700
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  Re:  Vendor extensions for XSLT - higher order functions

> FXSL, unfortunately, is so powerful that I think many "ordinary" users find
> it rather daunting. A gentler introduction, using examples from the world of
> commercial IT systems rather than computer science, would help to sell it to
> the general public.

There is nothing so powerful in FXSL and it implements some most basic concepts.

Concepts like: fold, map, compose, repeat/iterate   -- form the
alphabet of programming.

Certainly, if someone has arrived at grade 5 in school and still
doesn't know the alphabet, this person will find reading even ordinary
text rather "daunting".

To summarize, FXSL provides a big potential to learn, requires
learning, and this is even a bigger value than simply the provided
functionality.


-- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play

On 7/21/07, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > I am curious to know why some XSLT vendors have implemented
> > one or more XSLT extension functions with their product to
> > make for the implementation of higher-order functions (HOF) in XSLT.
>
> In the case of Saxon, it was needed by an XQuery user, and availability in
> XSLT was just a spin-off. It's not possible to use the FXSL approach in
> XQuery because it relies on xsl:apply-templates. In fact, this kind of
> capability is needed much more in XQuery because even without FXSL, there
> are many things you can do with xsl:apply-templates to handle dynamic
> content that have no simple solution in XQuery.
>
> In fact, in business applications I far more often see the need for
> saxon:evaluate() (in both XSLT and XQuery) where expressions are constructed
> at run-time from strings. But saxon:evaluate() is easy to understand, and it
> often gets used to solve problems where compile-time higher-order functions
> would be a cleaner and more efficient solution.
>
> FXSL, unfortunately, is so powerful that I think many "ordinary" users find
> it rather daunting. A gentler introduction, using examples from the world of
> commercial IT systems rather than computer science, would help to sell it to
> the general public.
>
> Michael Kay
> http://www.saxonica.com/




--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.