|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] compare dayTimeDuration ?Michael Kay mike at saxonica.comMon Feb 26 10:55:55 PST 2007
> > > > if ($r1 <= $v1) then > > * if ($r2 <= $v1) then xs:boolean(false)* > > else xs:boolean(true) > > else > > if ($r1 <= $v2) then xs:boolean(true) > > else xs:boolean(false) > > > > [...] > > Sébastien, > > there are no literals `true' and `false' in XQuery. Use the > built-in functions fn:true() and fn:false() instead. And of course the expression if ($r1 <= $v2) then xs:boolean(true) > > else xs:boolean(false) can be simplified to ($r1 <= $v2) Michael Kay http://www.saxonica.com/
|
Purchase Stylus Studio Online Today!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






