"to" operatorLiam R E Quin liam at w3.org
Wed Feb 22 18:38:24 PST 2012
On Wed, 2012-02-22 at 21:04 -0500, Birnbaum, David J wrote: [...] > Using eXist 2.0-tech-preview-rev15878-20120213 (sandbox), [...] > What I don't understand is why the following *doesn't* return an error: > > let $all := collection('/db/twitter')//tweet > let $range := 1 to 10 > return $all[$range] It does give an error in BaseX - Error: [FORG0006] (1 to 10) not allowed as condition type. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/
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