Discussion:
cast the dutchie on the right hand side
Ihe Onwuka
2014-06-12 19:10:58 UTC
Permalink
So I naively thought I'd try

xquery version "3.0";

('1999-12-31','2003-11-04') / castable as xs:date

because I am dealing with dirty data that shouldn't but sometimes contains
more than one date field.

Am wondering what is so objectionable about mapping a Boolean operator over
a sequence?
Christian Grün
2014-06-12 19:34:28 UTC
Permalink
This should help you:

('1999-12-31','2003-11-04') ! (. castable as xs:date)
Post by Ihe Onwuka
So I naively thought I'd try
xquery version "3.0";
('1999-12-31','2003-11-04') / castable as xs:date
because I am dealing with dirty data that shouldn't but sometimes contains
more than one date field.
Am wondering what is so objectionable about mapping a Boolean operator over
a sequence?
_______________________________________________
http://x-query.com/mailman/listinfo/talk
Loading...