> I wouldn't say that XPath
can't perform rational arithmetic but rather that rational arithmetic is not yet
implemented for XPath.
XPath does not have an atomic data type that is
capable of representing the value 1/3 accurately. You could of course do it all
using extension functions, but then it wouldn't really be XPath, just XPath
calling out to something else.
Regards, |