Hi

The collection('Hosts')//Host was a typo : I started with
collection('Hosts') and tested alternatives.

So you'd recommend a document instead of a collection to keep data of the
same type together? I'll keep that in mind.

So this is what I did.
- dropped the Hosts collection
- created a Hosts document
- tried the following query:
  insert node <Host><Name>test1</Name><FreeSpace>32</FreeSpace></Host> into
doc('Hosts')/Hosts
I still get the following error : Invalid XQuery syntax, syntax does not
pass static validation.

Do I have to alter the Hosts document first, maybe?

A big thank you for your help!
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to