Hi Jocelyn,

I am curious regarding the document-uri used to find the document name. Can
> it be used in a xquery statement in order to drop a document? Something
> along the line:
> se_term -query "DROP DOCUMENT document-uri(...) IN COLLECTION 'col-name'"
> dbname
>

Yes, it's possible. However, you should cast to xs:string result of
the document-uri()
call:

string(document-uri(...)) or document-uri(...) cast as xs:string

Ivan Shcheklein,
Sedna Team
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to