|
Subject: Re: [xsl] XSLT for Extensibility From: Alan Gutierrez <alan-xsl-list@xxxxxxxxx> Date: Wed, 2 Feb 2005 12:54:54 -0500 |
* Dimitre Novatchev <dnovatchev@xxxxxxxxx> [2005-01-29 15:32]:
> > How do you allow the user to plug in new tasks?
> >
> > This is a general problem I'm having, how do you create hooks,
> > callbacks, er, how do you create an XSLT framework?
> >
>
> Read about FXSL. It is a system to build and use higher-order
> functions in pure XSLT.
[snip]
>
> > --
> >
> > I asked elsewhere, and pipelines were suggested
>
> This is naturally done in FXSL by functional composition. As result
> otherwise difficlut problems can be solved in a one-liner XPath
> expression.
>
> Read more about FXSL at:
> http://fxsl.sf.net
For one project I'm opting to use pipelines of sorts. I'll
generate intermediate files, and transform them further.
Using this method, I can see how one would create a two step
process, or three step process, but not how one would create a
properly recursive process.
Where I'm using Saxon 8.X, I'll start using FXSL.
I can see how callbacks, and curried functions could be used to
define an API, but I'm sure there is a lot to learn in practice.
Where can I see examples of an API specified in FXSL? Or is it
so young that I sould study Haskell for best practice?
Also, I see no lists for FXSL. Is this the correct forum in
which to field new user questions?
Thanks for recommending this. I'm looking forward to finally
learning functional programming.
--
Alan Gutierrez - alan@xxxxxxxxx
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Grouping and Summing info, Anton Damhuis | Thread | Re: [xsl] XSLT for Extensibility, Colin Paul Adams |
| Re: [xsl] launching Saxon 8.2 from , Roger I Martin PhD | Date | Re: [xsl] Grouping and Summing info, Joris Gillis |
| Month |