davidc at nag.co.uk
Tue May 30 14:39:19 PDT 2006
> declare namespace op ="http://www.w3.org/2001/12/xquery-operators";
That's the namespace from a very old (2001) draft.The exact namespace
you need will depend on which draft your system implements, but the
current (and all future) drafts use
However you should only ever need this for functions (not operators) and
you don't need to declare it, as unprefixed functions will default to the
right namespace anyway and (in xquery) the fn prefix is predeclared.
The op: functions are not exposed using function syntax at the user
level, they are just internal functions used to describe the semantics
of the infix symbolic operators.
I think the operator you are looking for is op:subtractDates
which is accessed using the usual infix - operator.
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
More information about the talk