Hi,

* Is it possible to move an existing document which belongs to a collection
> to another collection?
>

There is no "move document" statement in the current version of Sedna. Use
load and drop statements sequentially in one transaction to move document
from one collection to another.


> * Is it possible to insert a document to more than one collection?
>

Yes, it's possible to have documents with the same name and content in
multiple collections. However, there is no
"load-document-in-multiple-collections" statement. You should use separate
"load" statements for each collection you want to insert document into (if
you need it to be atomic operation do it within one transaction). Note also
that each of these documents will be independent instance - they all will
have the same content but won't share any internal structures.


> * Is it possible to have collection of collections ?
>

No, there is no native support. However, some drivers implement this
feature. E.g. see XML:DB API by Charles Foster (documentation is included):
http://www.cfoster.net/sedna/xmldb/download/ .


Ivan Shcheklein,
Sedna Team
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to