Re: [xsl] Count a substring of an attribute in childnodes

Subject: Re: [xsl] Count a substring of an attribute in childnodes
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 10 Mar 2005 06:19:11 +1100
On Wed, 09 Mar 2005 14:35:44 +0000, Ragulf Pickaxe <jawxml@xxxxxxxxxxx> wrote:
> > Michael Kay:
> > The second solution is Dimitre's functional programming approach. This is
> > the one that's closest to the way I expressed the problem above. Note that I
> > described a three-stage approach in which stage 2 involves computing some
> > function. This is a classic higher-order function. The three-step algorithm
> > is a function that takes two arguments: the sequence of nodes, and the
> > function to be computed in step 2. Dimitre's FXSL library allows you to
> > write the solution in this form. It takes some getting used to, but it's the
> > most economical way of solving the problem; and although it involves calling
> > the FXSL library, that's written in pure XSLT 1.0 so it should be completely
> > portable.
> > ---
> 
> Thank you.
> I had gotten the notion that FXSL required EXSLT to work.

FXSL for XSLT 2.0 does not require EXSLT. None of the functions
defined can be called extensions. They are pure XSLT 2.0 xsl:function
-s

FXSL for XSLT 1.0 uses common:node-set() from EXSLT.


Cheers,
Dimitre

Current Thread