Thanks Christian
Hi Jan,
all XQuery functions which use the "op" prefix are part of other
XQuery expressions and cannot be explicitly called. In your example,
you can use the "div" operator to get the expected result. Example:
xs:dayTimeDuration("P1DT2H30M10.5S") div 1.5
Hope this helps,
Christian
> _______________________________________________
On Sun, Jan 16, 2011 at 1:08 PM, Jan Vlčinský (CAD)
<jan.vlcinsky@cad-programs.com> wrote:
> Hi
> I am trying to use function op:divide-dayTimeDuration as declared
> at http://www.w3.org/TR/xquery-operators/#func-divide-dayTimeDuration
> BaseX tells me either unknown namespace op, or unknown function.
> Is this supported by BaseX, or I shall find my own implementation written in
> XQuery?
> Jan
>
> BaseX-Talk mailing list
> BaseX-Talk@mailman.uni-konstanz.de
> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
>
>