[xquery-talk] Functional XPath commands

Ihe Onwuka ihe.onwuka at gmail.com
Fri Jan 24 05:14:59 PST 2014

So I have just written

if (@firstpage eq 0) then floor($totalPagesDecimal) else

but how close would

(floor,ceiling)[@firstpage + 1]($totalPagesDecimal) have been

I'm guessing  I would at least have to put some function invoking
paraphenalia around the calls to floor and ceiling (hopefully not).

More information about the talk mailing list