No xquery results

Thursday, 18 September 2014 · 3 messages
MH
Michael Hancock18 Sep 2014 14:43 #
Hi, Hope I'm asking this question to the correct people. I'm an absolute beginner to BaseX and I've run into a problem. I have created a collection from 50 BIRT report definition files (with the post-fix of "rptdesign") - the collection can be visualised and navigated in the GUI without issue. But I cant seem to run any xquery commands against the database. The queries all return a result of zero rows. Do you have any idea why this might be the case? (Even a basic "//parameters" query returns no rows.) FYI - I have created a factbook database and this works as expected so I'm guessing the issue is in the xml implementation within the "rptdesign" documents but I need some help in finding/resolving the problem. Sorry for the very basic question but any help would be much appreciated. I'm running V 7.9. Best regards. Mike Michael Hancock Clinical Applications Systems Programmer Pharm-Olam International The Brackens, London Road, Ascot Berkshire, SL5 8BJ, UK Tel: +44 (0)1344 898 583 Fax: +44 (0)1344 899 199 Email: Michael.Hancock at pharm-olam.com This e-mail may contain information that is privileged, confidential and/or subject to legal restrictions and penalties regarding it's unauthorized disclosure or use. Unauthorized viewing, copying, distribution, disclosure or other use of this information is prohibited if you are not the intended recipient. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete this e-mail and attachments from your system. Thank you.
CG
Christian Grün18 Sep 2014 14:50 #
Hi Michael, to help you, we probably need some more insight into the data you are querying. A first hint: if your documents contains namespace, you may get results using a namespace wildcard: //*:parameters Please don't hesitate to provide us with more information, Christian
Quoted text · Michael Hancock · 62 lines
On Thu, Sep 18, 2014 at 2:43 PM, Michael Hancock <Michael.Hancock at pharm-olam.com> wrote: > Hi, > > > > Hope I'm asking this question to the correct people. > > > > I'm an absolute beginner to BaseX and I've run into a problem. I have > created a collection from 50 BIRT report definition files (with the post-fix > of "rptdesign") - the collection can be visualised and navigated in the GUI > without issue. But I cant seem to run any xquery commands against the > database. The queries all return a result of zero rows. Do you have any idea > why this might be the case? (Even a basic "//parameters" query returns no > rows.) > > > > FYI - I have created a factbook database and this works as expected so I'm > guessing the issue is in the xml implementation within the "rptdesign" > documents but I need some help in finding/resolving the problem. > > > > Sorry for the very basic question but any help would be much appreciated. > I'm running V 7.9. > > > > Best regards. > > Mike > > > > Michael Hancock > > Clinical Applications Systems Programmer > > Pharm-Olam International > > The Brackens, London Road, Ascot > > Berkshire, SL5 8BJ, UK > > Tel: +44 (0)1344 898 583 > > Fax: +44 (0)1344 899 199 > > Email: Michael.Hancock at pharm-olam.com > > > > This e-mail may contain information that is privileged, confidential and/or > subject to legal restrictions and penalties regarding it's unauthorized > disclosure or use. Unauthorized viewing, copying, distribution, disclosure > or other use of this information is prohibited if you are not the intended > recipient. If you have received this e-mail in error, please notify the > sender immediately by return e-mail and delete this e-mail and attachments > from your system. Thank you.
MH
Michael Hancock18 Sep 2014 15:04 #
Oh my! That worked. Thanks for your help. Feeling such a fool! Hopefully my next post might be more intelligent. Many thanks. Mike
Quoted text · Christian Grün · 72 lines
-----Original Message----- From: Christian Grün [mailto:christian.gruen at gmail.com] Sent: 18 September 2014 13:51 To: Michael Hancock Cc: basex-talk at mailman.uni-konstanz.de Subject: Re: [basex-talk] No xquery results Hi Michael, to help you, we probably need some more insight into the data you are querying. A first hint: if your documents contains namespace, you may get results using a namespace wildcard: //*:parameters Please don't hesitate to provide us with more information, Christian On Thu, Sep 18, 2014 at 2:43 PM, Michael Hancock <Michael.Hancock at pharm-olam.com> wrote: > Hi, > > > > Hope I'm asking this question to the correct people. > > > > I'm an absolute beginner to BaseX and I've run into a problem. I have > created a collection from 50 BIRT report definition files (with the > post-fix of "rptdesign") - the collection can be visualised and > navigated in the GUI without issue. But I cant seem to run any xquery > commands against the database. The queries all return a result of zero > rows. Do you have any idea why this might be the case? (Even a basic > "//parameters" query returns no > rows.) > > > > FYI - I have created a factbook database and this works as expected so > I'm guessing the issue is in the xml implementation within the "rptdesign" > documents but I need some help in finding/resolving the problem. > > > > Sorry for the very basic question but any help would be much appreciated. > I'm running V 7.9. > > > > Best regards. > > Mike > > > > Michael Hancock > > Clinical Applications Systems Programmer > > Pharm-Olam International > > The Brackens, London Road, Ascot > > Berkshire, SL5 8BJ, UK > > Tel: +44 (0)1344 898 583 > > Fax: +44 (0)1344 899 199 > > Email: Michael.Hancock at pharm-olam.com > > > > This e-mail may contain information that is privileged, confidential > and/or subject to legal restrictions and penalties regarding it's > unauthorized disclosure or use. Unauthorized viewing, copying, > distribution, disclosure or other use of this information is > prohibited if you are not the intended recipient. If you have received > this e-mail in error, please notify the sender immediately by return > e-mail and delete this e-mail and attachments from your system. Thank you.

⚡Generated with XQuery