Hi,

I want to select values from map thru JXPath by providing a range expression
on keys.  Keys are string from “A” to “Z”. 

 

If I want to sum all the values between, say, B and D. I can use the
following expression

 

sum(map[position()>1 and position() <6]) 

 

 

It is good as long as the map have all the keys from B to D (i-e it must
have B, C and D as keys). 

 

I would like to tackle the situation when above assumption cannot be made.
So I have tried following

 

sum([EMAIL PROTECTED]>”A” and @name <”E” ]) 

 

but failed to achieve the desired results.

 

Any ideas?

 

Regards,

Tahir Akhtar


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: 3/10/2006
 

Reply via email to