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/
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk