Subject: Re: How do I get a SUM of the string-length of all child nodes ??
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Sat, 28 May 2005 19:42:34 -0700 (PDT)
|
Hi Dimitre,
What does map function do? Please explain what does
sum(f:map(f:string-length(), /*/node())) mean ..
I am keen to use FXSL ..
Regards,
Mukul
--- Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote:
> Assuming we want to get the sum of string-lengths of
> all child nodes
> of the top node,
>
> using FXSL one would write:
>
> sum(f:map(f:string-length(), /*/node()))
>
> Cheers,
> Dimitre Novatchev.
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
|