On Fri, 15 Dec 2006, Andrew Bruno wrote:

> You can use xdmp:document-load() with cqsh but the file would have to be
> located on the server. The only option currently supported in cqsh for
> loading local files is passing in a uri.
>
>   cqsh --load -n '/my/doc/uri' /tmp/localfile.xml
>
> or you can give a uri prefix for loading multiple files:
>
>   cqsh --load -i '/docs/' /tmp/*.xml
>
> cqsh is still using the old XDBC libraries under the covers. I'm hoping to
> update cqsh to use XCC which has a much better interface for document
> loading. What options would you like to see added to cqsh load?

With our current use case, the "permissions" and "collections" options,
but the ideal would be access to everything that xdmp:document-load()
allows.

Thanks for the work on cqsh--it's a handy tool for a lot of things.

-- 
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 400318, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: [EMAIL PROTECTED]   Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to