Hi Martin,
It's likely that you use namespaces in your data. Can you give us an example
of your documents?
Ivan Shcheklein,
Sedna Team
On Wed, Sep 9, 2009 at 12:22 AM, Lewis, Martin <[email protected]>wrote:
> Hello,
> First, not sure that I am at the right place to ask for my problem, sorry
> if it is not the case.
> I have try to find answers in archives but all posts are more complex and
> not very at my level (I'm a beginner in XML Query).
>
> My problem:
> I use Sedna (version 3.2.18) and SednaAdmin (version 1.0) and when I try do
> retrieve information inside collections, I have problems.
>
> The following code gives me all documents and is working well:
> *for $a in collection("MyCollection")*
> *return $a*
>
> Based on my reading, I should be able to write the following code and
> retrieve all ODM elements:
> for $a in collection("MyCollection")
> return $a//ODM
>
> Or attributes:
> for $a in collection("MyCollection")
> return $a//ODM/@ODMVersion
>
> But these two queries doesn't give me any results (blank pages but no
> errors).
> Maybe I'm doing something wrong.
> If you have any hints or advice for me, it would be a pleasure for me to
> test them,
> Thanks in advance for your help,
> Martin.
>
> Notice: This e-mail message, together with any attachments, contains
> information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
> New Jersey, USA 08889), and/or its affiliates (which may be known
> outside the United States as Merck Frosst, Merck Sharp & Dohme or
> MSD and in Japan, as Banyu - direct contact information for affiliates is
> available at http://www.merck.com/contact/contacts.html) that may be
> confidential, proprietary copyrighted and/or legally privileged. It is
> intended solely for the use of the individual or entity named on this
> message. If you are not the intended recipient, and have received this
> message in error, please notify us immediately by reply e-mail and
> then delete it from your system.
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Sedna-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion