[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Dynamic context default values

Ivan Shcheklein vano_msu at mail.ru
Wed Feb 7 21:57:51 PST 2007


  Dynamic context default values
> I initially thought that the collection() function wasn't going to be 
> useful outside a database context. In fact, Saxon users have found it 
> a very valuable feature, given the ability to map a URI to a selection 
> of files from a hierarchic filestore.


It is possible to create collections in Sedna too. And we successfully pass
tests like

     count(fn:collection('collection1'))

but I can't understand fn:collection() call (with zero arguments exactly)
which should return default collection value from dynamic context. 


For example, consider we have one or few collections loaded in database. Is
it possible in this situation to raise FODC0002 on

     count(fn:collection())

query?


Ivan Shcheklein
www.modis.ispras.ru/sedna
Sedna Team



Purchase Stylus Studio Online Today!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.