Hi Ambika, These function names don't really exist, W3C only uses them to make referencing them easier, particularly when there are overloaded operators. If you look at the definition at W3C (http://www.w3.org/TR/xpath-functions/#func-numeric-integer-divide), you might notice the following sentence:
"This function backs up the "idiv" operator by performing an integer division." So, to put it short: use ' 10 idiv 3' instead of the function call.. Kind regards, Geert Van: [email protected] [mailto:[email protected]] Namens ambika arumugam Verzonden: donderdag 17 februari 2011 8:47 Aan: General MarkLogic Developer Discussion Onderwerp: [MarkLogic Dev General] op:numeric-integer-divide Hi I am finding difficulty executing declare namespace op ="http://www.w3.org/2002/08/xquery-operators"; op:numeric-integer-divide(10,3) it shows up XDMP-UNDFUN: (err:XPST0017) Undefined function op:numeric-integer-divide() am i doing something wrong. Regards Ambika
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
