Dear all!

I am newbie in Sedna, and I am trying to create a value-index on a document
in a collection. The statement is:
 create index "book-title" on doc("books.xml",
"testcollection")/catalog/book by title as xs:string
But I get the folowing error:
SEDNA Message: ERROR SE5049 Not a structural XPath supplied. Details: at
(1:30), document-in-collection is not permitted in on-XPath
But doc("books.xml","testcollection")/catalog/book/title runs correctly.

I found no example in the documentation on this.
The index creation in collection is not permitted, not implemented or I am
doing something wrong?

Thank You
Zoltan
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to