XPath query results in DOM form?

2004-12-30 Thread R. Mark Volkmann
Is there a way to get query results in DOM form instead of as a string? -- R. Mark Volkmann Partner, Object Computing, Inc.

Re: xpath query against a collection-hierarchy

2004-07-22 Thread Vadim Gritsenko
[EMAIL PROTECTED] wrote: We want to store XML eLearning-Content with Xindice. The collections are organized as our project structure. Within a project-collection, the are multiple collections in which we store the content of certain paragraphs of our project. Here's an example: /db /db/project

RE: xpath query against a collection-hierarchy

2004-07-22 Thread mailbox
22, 2004 10:21 AMTo: xindice-users@xml.apache.orgSubject: Re: xpath query against a collection-hierarchy Hi Sven: this kind of function/query (against multiple collections) does not make sense to me.    is querying sub collections ok??   why you want to do such query..? can y

Re: xpath query against a collection-hierarchy

2004-07-22 Thread Laxma Reddy Dendi
think this function is not supported by xindice.     take a look at http://xml.apache.org/xindice/guide-user.html#Querying+the+Database       I dont know about other xnd's like exist.      regards   laxma dendi   [EMAIL PROTECTED] wrote: Hi,is it possible to run a xpath query against a col

Re: xpath query against a collection-hierarchy

2004-07-22 Thread Laxma Reddy Dendi
Hi Sven:     I think this function is not supported by xindice.     take a look at http://xml.apache.org/xindice/guide-user.html#Querying+the+Database       I dont know about other xnd's like exist.      regards   laxma dendi   [EMAIL PROTECTED] wrote: Hi,is it possible to run a xpath

xpath query against a collection-hierarchy

2004-07-22 Thread mailbox
Hi, is it possible to run a xpath query against a collection and it's subcollections? Collection-Hierarchy: /db /collection_1 /collection_2 /collection_3 /collection_4 How can I query all collection (1-4) at the same time. By using xindice xpath -c /db/collection_1 -q &

Re: XPath query failing when indexes are in use

2004-07-20 Thread Vadim Gritsenko
Veniamin Fichin wrote: Veniamin Fichin wrote: Not sure if this is a bug, but. So that was not a bug, but my misunderstranding of documentation. It has an example for index addition where it says to use "[EMAIL PROTECTED]" pattern, but as far as I can tell now, it should be "rock/@hard" or

Re: XPath query failing when indexes are in use

2004-07-15 Thread Veniamin Fichin
Veniamin Fichin wrote: Not sure if this is a bug, but. So that was not a bug, but my misunderstranding of documentation. It has an example for index addition where it says to use "[EMAIL PROTECTED]" pattern, but as far as I can tell now, it should be "rock/@hard" or "[EMAIL PROTECTED]" or.

XPath query failing when indexes are in use

2004-07-15 Thread Veniamin Fichin
Hello all! Not sure if this is a bug, but. I've added an index to one of collection and noticed performance improvement when searching for a document with given key, but since then no XPath queries find me what I request. Index addition line was: xindice.bat ai -l -c /db/videos/movies -n m

Re: XPATH query roubles - attribute values

2004-06-10 Thread Vadim Gritsenko
[EMAIL PROTECTED] wrote: Vadim, Thank you for your quick reply. I reviewed the references and modified the query to include the -s for both name spaces. The result is essentially the same. With the -s the additional error "mismatched namespace prefixes and uris" is also generated. I've seen this

Re: XPATH query roubles - attribute values

2004-06-09 Thread Lavon_Lofton
Vadim, Thank you for your quick reply. I reviewed the references and modified the query to include the -s for both name spaces. The result is essentially the same. With the -s the additional error "mismatched namespace prefixes and uris" is also generated. I can understand the original error in

Re: XPATH query roubles - attribute values

2004-06-09 Thread Vadim Gritsenko
fix "exec" for attribute "exec:id" associated with an element type "xq:result" is not bound. org.xml.sax.SAXParseException: The prefix "exec" for attribute "exec:id" associated with an element type "xq:result" is not bound. Read http

XPATH query roubles - attribute values

2004-06-07 Thread Lavon_Lofton
Hello. I'm attempting to use XPath to return attribute values from the document store. I'm using 1.1b4. the first query return the value of the type attribute within the xq:result. C:\xindice-1.1b4\bin>xindice xpath -c xmldb:xindice://localhost:8080/db/ecoavs0.2 -q "/exec:Exhibit [EMAIL PROTE

Re: XPath Query, HELP

2004-05-20 Thread Vadim Gritsenko
//Label - xindice xpath –c /db/description –q /*/* However only the last query returns result and the other return nothing. Can someone help me fix my xml doc or my xpath query please ? http://www.w3.org/2001/XMLSchema-instance"; xmlns:mpeg7="urn:mpeg:mpeg7:schema:2001" xsi

Re: XPath Query, HELP

2004-05-20 Thread Jelle Alten
.org Sent: Wednesday, May 19, 2004 1:24 AM Subject: XPath Query, HELP Hi   I am a newbie to both xindice and xpath.   I have added following document to collection /db/description and tried to test xpath with following queries  - xindice xpath –c /db/descri

Fw: XPath Query, HELP

2004-05-19 Thread Jelle Alten
.org Sent: Wednesday, May 19, 2004 1:24 AM Subject: XPath Query, HELP Hi   I am a newbie to both xindice and xpath.   I have added following document to collection /db/description and tried to test xpath with following queries  - xindice xpath –c /db/descri

Re: XPath Query, HELP

2004-05-19 Thread Steven Shand
–q /Mpeg7/Description  - xindice xpath –c /db/description –q //Label - xindice xpath –c /db/description –q /*/*     However only the last query returns result and the other return nothing. Can someone help me fix my xml doc or my xpath query please ?     xmlns:xsi="http://www.w3.org/200

XPath Query, HELP

2004-05-18 Thread Jason Kim
/db/description –q //Label - xindice xpath –c /db/description –q /*/*     However only the last query returns result and the other return nothing. Can someone help me fix my xml doc or my xpath query please ?     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" x

'Getty=001-607-408'cocoon and xpath query

2004-03-26 Thread Getty Images USA License
is:1607408 -Original Message- From: Vadim Gritsenko [EMAIL PROTECTED] Sent: Thursday, Mar 25 2004 5:49PM To: xindice-users@xml.apache.org [EMAIL PROTECTED] Subject: cocoon and xpath query Jonathan Melhuish wrote: > And for those of you who don't speak French... ;-) &g

Re: cocoon and xpath query

2004-03-26 Thread Vadim Gritsenko
Jonathan Melhuish wrote: And for those of you who don't speak French... ;-) lilia ighmouracene wrote: La page XML ne peut pas être affichée The XML page can't be displayed Impossible d'afficher l'entrée XML en utilisant la feuille de style XSL. Corrigez l'erreur, puis cliquez sur le bouton Actual

'Getty=001-602-685'cocoon and xpath query

2004-03-25 Thread Getty Images USA License
is:1602685 -Original Message- From: Jonathan Melhuish [EMAIL PROTECTED] Sent: Thursday, Mar 25 2004 6:09AM To: xindice-users@xml.apache.org [EMAIL PROTECTED] Subject: cocoon and xpath query And for those of you who don't speak French... ;-) lilia ighmouracene wrote: > La

Re: cocoon and xpath query

2004-03-25 Thread Jonathan Melhuish
And for those of you who don't speak French... ;-) lilia ighmouracene wrote: La page XML ne peut pas être affichée The XML page can't be displayed Impossible d'afficher l'entrée XML en utilisant la feuille de style XSL. Corrigez l'erreur, puis cliquez sur le bouton Actualiser ou réessayez ultéri

'Getty=001-566-217'cocoon and xpath query

2004-03-24 Thread Getty Images USA License
is:1566217 -Original Message- From: lilia ighmouracene [EMAIL PROTECTED] Sent: Wednesday, Mar 24 2004 9:02AM To: xindice-users@xml.apache.org [EMAIL PROTECTED] Subject: cocoon and xpath query hi all, i used xindice with cocoon, - i don't have a pb when executing an xupdate

cocoon and xpath query

2004-03-24 Thread lilia ighmouracene
hi all, i used xindice with cocoon, - i don't have a pb when executing an xupdate query with cocoon on xindice. - when i want to create a document and collection with cocoon, i must restartes tomcat else cocoon don't find the new document or collection. -i have a pb to execute xpat

Re: xpath query with contains function

2004-03-11 Thread Andy Armstrong
Vadim Gritsenko wrote: xindice.bat to start server with Jetty, or you can deploy dist/xindice*.war into Tomcat (see instructions on the web), and you can use command line tool "bin\xindice.bat" to connect to the server, or run tool against local database files (if server is not started). Read ti

Re: xpath query with contains function

2004-03-11 Thread Vadim Gritsenko
Yu DENG wrote: Hi Upayavira, Do you mean xindice 1.1b3 on http://xml.apache.org/xindice/download.cgi? I do not know how to use it actually. I downloaded xml-xindice-1.1b3-src.zip. After unzipped it, I ran build.bat to compile it and was successful. However, I cannot start the database since ther

Re: xpath query with contains function

2004-03-11 Thread Upayavira
;To: xindice-users@xml.apache.org >Subject: Re: xpath query with contains function >Date: Thu, 11 Mar 2004 16:29:55 + > >Yu DENG wrote: > >>Dear all, I could not run the xpath query with a contains function >>on my machine. Really frustrated. I checked my code wit

Re: xpath query with contains function

2004-03-11 Thread Yu DENG
startup.bat in xindice. Would you tell me which file I should download? Is there any instructions for starting xindice 1.1? Thanks a lot. Best wishes,Yu >From: Upayavira <[EMAIL PROTECTED]> >Reply-To: xindice-users@xml.apache.org >To: xindice-users@xml.apache.org >Subject: Re: xpath q

Re: xpath query with contains function

2004-03-11 Thread Upayavira
Yu DENG wrote: Dear all, I could not run the xpath query with a contains function on my machine. Really frustrated. I checked my code with the previous messages in the mailing list. It should be correct. However, it always return empty result. I am using address1.xml (an example in xindice

xpath query with contains function

2004-03-11 Thread Yu DENG
Dear all,    I could not run the xpath query with a contains function on my machine. Really frustrated. I checked my code with the previous messages in the mailing list. It should be correct. However, it always return empty result.   I am using address1.xml (an example in xindice) to test the

cocoon and xpath query

2004-02-19 Thread lilia ighmouracene
t;. 3- can u tell me what the good version of xindice for what version of  cocoon and tomcat i must insatll thank's >From: Vadim Gritsenko <[EMAIL PROTECTED]> >Reply-To: xindice-users@xml.apache.org >To: xindice-users@xml.apache.org >Subject: Re: cocoon and xpath query >Date:

Re: cocoon and xpath query

2004-02-19 Thread Vadim Gritsenko
lilia ighmouracene wrote: hello, 1) i try to perform this xindice query within cocoon: http://localhost:8080/cocoon/db/PROTO/Medical/medical.xml?xpath=//[EMAIL PROTECTED]'pfranck'

cocoon and xpath query

2004-02-18 Thread lilia ighmouracene
hello, 1) i try to perform this xindice query within cocoon: http://localhost:8080/cocoon/db/PROTO/Medical/medical.xml?xpath=//[EMAIL PROTECTED]'pfranck'] but i have the follow message error   "Référence à un préfixe d'espace de noms non déclaré  "   i have the response to the query but not wel

Re: xindice xpath query over multiple collections + CollectionList.java

2004-02-04 Thread Honglin Ye
Hi, Vadim, I made the class to extract collection List. (see attached) The class contain 2 static methods, public static ArrayList getCollectionList(Hashtable t) {...} and public static ArrayList getCollectionList(String s) {..} The first one is to be used for commandline query and the

Re: xindice xpath query over multiple collections

2004-02-04 Thread Honglin Ye
Vadim Gritsenko wrote: Honglin Ye wrote: Vadim Gritsenko wrote: Honglin Ye wrote: By partitioning the database into smaller collections may improve the performance. I'm curious, why do you think so? Is there any reason or observation for this? I am curious too. Suppose we have 4 groups, each gr

Re: xindice xpath query over multiple collections

2004-02-04 Thread Honglin Ye
Vadim Gritsenko wrote: Honglin Ye wrote: Vadim Gritsenko wrote: Honglin Ye wrote: By partitioning the database into smaller collections may improve the performance. I'm curious, why do you think so? Is there any reason or observation for this? I am curious too. Suppose we have 4 groups, each gr

Re: xindice xpath query over multiple collections

2004-02-04 Thread Honglin Ye
Vadim Gritsenko wrote: Honglin Ye wrote: Attached XPathQuery.java contains my modification to the original file. I added 2 private functions to extract collection list and modified execute method to loop over all the collection list. Ok, I took a look at your changes. You have modified xind

Re: xindice xpath query over multiple collections

2004-02-04 Thread Vadim Gritsenko
Honglin Ye wrote: Attached XPathQuery.java contains my modification to the original file. I added 2 private functions to extract collection list and modified execute method to loop over all the collection list. Ok, I took a look at your changes. You have modified xindice admin tool to searc

Re: xindice xpath query over multiple collections

2004-02-04 Thread Vadim Gritsenko
Honglin Ye wrote: Vadim Gritsenko wrote: Honglin Ye wrote: By partitioning the database into smaller collections may improve the performance. I'm curious, why do you think so? Is there any reason or observation for this? I am curious too. Suppose we have 4 groups, each group add 1000 files eve

Re: xindice xpath query over multiple collections

2004-02-03 Thread Honglin Ye
Vadim Gritsenko wrote: Honglin Ye wrote: I think search over multiple collections of similar document is a needed feature. Well, it was and still is on Xindice TODO list :-) By partitioning the database into smaller collections may improve the performance. I'm curious, why do you think so

Re: xindice xpath query over multiple collections

2004-02-03 Thread Vadim Gritsenko
Honglin Ye wrote: I think search over multiple collections of similar document is a needed feature. Well, it was and still is on Xindice TODO list :-) By partitioning the database into smaller collections may improve the performance. I'm curious, why do you think so? Is there any reason o

xindice xpath query over multiple collections

2004-02-03 Thread Honglin Ye
path -c xmldb:xindice://host:8080/db/root/ -q "/root/childre" >> > sorry, it should read > > xindice xpath -c xmldb:xindice://host:8080/db/root/* -q "/root/childre" See Xindice website, Todo page: The Query Engine The query engine has basic functionality ri

Re: XPath query with a contains() function

2004-01-23 Thread Terry Rosenbaum
If you can more fully specify the path or use indexes, you can get better performance testing for equality (if you are looking for an exact match). Presuming you have You would retrieve faster with value indexes on the @userID and @date attributes and using a query like: /[EMAIL PROTECTED]"Jack

Re: XPath query with a contains() function

2004-01-23 Thread Boris Rousseau
Excellent, this actually works ! Thanks a million. - Original Message - From: "Upayavira" <[EMAIL PROTECTED]> To: Sent: Friday, January 23, 2004 3:49 PM Subject: Re: XPath query with a contains() function > Boris Rousseau wrote: > > >Thanks guys. > >

Re: XPath query with a contains() function

2004-01-23 Thread Upayavira
Boris Rousseau wrote: Thanks guys. In fact, once embedded into my code there is no problem with the command interpreter. However, I still have one issue: I want to retrieve all the documents from the collection where the userID is Jack and the date is 2004-01-23 Would the following query be correct

Re: XPath query with a contains() function

2004-01-23 Thread Boris Rousseau
(userID,"Jack")] and [contains(date,"2004-01-23")]) Regards, Boris - Original Message - From: "Jeff Greif" <[EMAIL PROTECTED]> To: Sent: Friday, January 23, 2004 2:59 PM Subject: Re: XPath query with a contains() function > I think you need the sing

Re: XPath query with a contains() function

2004-01-23 Thread Jeff Greif
; Jeff - Original Message - From: "Terry Rosenbaum" <[EMAIL PROTECTED]> To: Sent: Friday, January 23, 2004 6:15 AM Subject: Re: XPath query with a contains() function > On windows, using the command prompt, it is virtually impossible > to correctly quote/escape some xpath

Re: XPath query with a contains() function

2004-01-23 Thread Vadim Gritsenko
Boris Rousseau wrote: I am using windows. Still does not work... Well, I don't know how to make it work under win either. Try cygwin.com Vadim - Original Message - From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: Sent: Friday, January 23, 2004 1:32 PM Subject: R

Re: XPath query with a contains() function

2004-01-23 Thread Terry Rosenbaum
, no shell escaping would be needed. -Terry Boris Rousseau wrote: I am using windows. Still does not work... - Original Message - From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: Sent: Friday, January 23, 2004 1:32 PM Subject: Re: XPath query with a contains() functio

Re: XPath query with a contains() function

2004-01-23 Thread Boris Rousseau
I am using windows. Still does not work... - Original Message - From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: Sent: Friday, January 23, 2004 1:32 PM Subject: Re: XPath query with a contains() function > Boris Rousseau wrote: > > >Hi all, > > &

Re: XPath query with a contains() function

2004-01-23 Thread Vadim Gritsenko
Boris Rousseau wrote: Hi all, I am testing this query from the command line and I cannot see why the following does not work: xindice xpath -c /db/test -q "//doc/userID[contains(.,'Jack')]" or xindice xpath -c /db/test -q "//doc[contains(userID,'Jack')]" gives me the error message: 'Jack')]""==""

XPath query with a contains() function

2004-01-23 Thread Boris Rousseau
essage: 'Jack')]""=="" was unexpected at this time. Can anoybody see why? Regards, Boris - Original Message - From: "Upayavira" <[EMAIL PROTECTED]> To: Sent: Friday, January 23, 2004 12:23 PM Subject: Re: XPath query with an apostrophe

Re: XPath query with an apostrophe

2004-01-23 Thread Upayavira
ype a value into a form, click 'search', and it'll build up an XPath query with the value they enter. I therefore don't have the ability to replace an apostrophe with ' as there's no Java code of mine involved Hmmm. Any ideas? Regards, Upayavira

Re: XPath query with an apostrophe

2004-01-23 Thread Vadim Gritsenko
Mario Cormier wrote: Vadim Gritsenko wrote: Terry Rosenbaum wrote: Try /doc[contains(title,"fo'o")] ... Double quotes work too. I think that /doc[contains(title,"fo"o")] also should work, right? Vadim Actually, for an apostrophe, shouldn't it be ' instead of " ? ;) Well, you know what I mean,

Re: XPath query with an apostrophe

2004-01-23 Thread Mario Cormier
Vadim Gritsenko wrote: Terry Rosenbaum wrote: Try /doc[contains(title,"fo'o")] ... Double quotes work too. I think that /doc[contains(title,"fo"o")] also should work, right? Vadim Actually, for an apostrophe, shouldn't it be ' instead of " ? ;) Upayavira wrote: If I do /doc[contains(title,'foo

Re: XPath query with an apostrophe

2004-01-23 Thread Vadim Gritsenko
Terry Rosenbaum wrote: Try /doc[contains(title,"fo'o")] ... Double quotes work too. I think that /doc[contains(title,"fo"o")] also should work, right? Vadim Upayavira wrote: If I do /doc[contains(title,'foo')], I'm fine. But what if the term I want to use in place of foo contains an apostrophe?

Re: XPath query with an apostrophe

2004-01-22 Thread Terry Rosenbaum
Try /doc[contains(title,"fo'o")] ... Double quotes work too. Upayavira wrote: If I do /doc[contains(title,'foo')], I'm fine. But what if the term I want to use in place of foo contains an apostrophe? How can I handle that? Regards, Upayavira

XPath query with an apostrophe

2004-01-22 Thread Upayavira
If I do /doc[contains(title,'foo')], I'm fine. But what if the term I want to use in place of foo contains an apostrophe? How can I handle that? Regards, Upayavira

RE: XPath Query Problem

2004-01-14 Thread EXT-Brannan, Pat
That was it. Thank you. -Original Message- From: Philipp Dev [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 6:12 PM To: xindice-users@xml.apache.org Subject: re: XPath Query Problem Hi you are using so switch is an xml attribute to refer to an attribute in xpath you need

re: XPath Query Problem

2004-01-14 Thread Philipp Dev
Hi you are using so switch is an xml attribute to refer to an attribute in xpath you need to use the prefix "@" it's missing in your java lines. So instead of String xpath = "//command[switch='ac1']"; try String xpath = "//[EMAIL PROTECTED]'ac1']"; should help regards

XPath Query Problem

2004-01-13 Thread EXT-Brannan, Pat
Hi, I'm new to xindice and am having a problem with an XPath query. It is probably something stupid, but I haven't been able to find it. As a test I created a collection called commands and added the commands.xml file that ships with xindice to it 1000 times. Each iteration I mo

XPath Query node position problem

2003-12-29 Thread Domagala Marcin
Hi I'have such problem using Xindice with Cocoon in embedded mode: When i use such query xmldb:xindice-embed:///db/addressbook/#/person i've got http://apache.org/cocoon/xmldb/1.0"; query="/person" resources="2">http://apache.org/cocoon/xmldb/1.0"; docid="06ffa7c01f9fdabb00f9c1c4eab9">http://

Re: XPATH-Query on single document in collection

2003-12-12 Thread Wolfram Horwath
y hints what I am doing wrong? Wolfram Horwath schrieb: I wasn't aware if this was possible as it's not mentioned anywhere in the documentation. I thought of this possibility but wanted confirmation, so I'm going to try it that way. Thanks for your help! Wolfram Upayavira sc

Re: XPATH-Query on single document in collection

2003-12-12 Thread Upayavira
umentation. I thought of this possibility but wanted confirmation, so I'm going to try it that way. Thanks for your help! Wolfram Upayavira schrieb: Wolfram Horwath wrote: Hi! Is there a way to execute a XPATH-Query on only one specified document in a collection? Erm. Isn't this eas

Re: XPATH-Query on single document in collection

2003-12-12 Thread Wolfram Horwath
anted confirmation, so I'm going to try it that way. Thanks for your help! Wolfram Upayavira schrieb: Wolfram Horwath wrote: Hi! Is there a way to execute a XPATH-Query on only one specified document in a collection? Erm. Isn't this easy? /db/collection/#//xpath does an Xpath on a

Re: XPATH-Query on single document in collection

2003-12-12 Thread Wolfram Horwath
I wasn't aware if this was possible as it's not mentioned anywhere in the documentation. I thought of this possibility but wanted confirmation, so I'm going to try it that way. Thanks for your help! Wolfram Upayavira schrieb: Wolfram Horwath wrote: Hi! Is there a way to execute a

Re: XPATH-Query on single document in collection

2003-12-12 Thread Upayavira
Wolfram Horwath wrote: Hi! Is there a way to execute a XPATH-Query on only one specified document in a collection? Erm. Isn't this easy? /db/collection/#//xpath does an Xpath on a collection, whereas /db/collection/document#//xpath does one on a document in a collection. Am, I mi

XPATH-Query on single document in collection

2003-12-12 Thread Wolfram Horwath
Hi! Is there a way to execute a XPATH-Query on only one specified document in a collection? Thanks! Wolfram

xpath query not working with xindice 1.0

2003-11-27 Thread Tobias Fritz
data.xml: Glazed Ham 3) trying to retrieve this document with the xpath-query from the user guide: xindice xpath_query -c /db/data/products -q /[EMAIL PROTECTED]"120320"] result: NOTHING!! the document IS in the db, because when I use the following query: xindice xpath_query -

xpath query does not yeild result

2003-11-27 Thread Saboo, Raghavendra (CORP, GEITC)
Hi, I have a collection heirarchy (/db/xxx/yyy) In yyy I have an xml file which is 4.6 MB in size.   when i try to get an element from this file through   xindice xpath -c /db/xxx/yyy -q //element1   I do not receive any result  and strangely any errors. I am abosultely sure about the elem

Re: Xpath query in xindice 1.1b1

2003-11-10 Thread Julien Le Dem
: Monday, November 10, 2003 6:15 PM Subject: Re: Xpath query in xindice 1.1b1 > Nothing broken. Ensure that you use the correct > version of Xalan depending on the version of > Xindice you're using. Use late-model versions > of Xalan with late-model versions of Xindice > and

Re: Xpath query in xindice 1.1b1

2003-11-10 Thread Terry Rosenbaum
Julien Le Dem" <[EMAIL PROTECTED]> Sent: Monday, November 10, 2003 3:44 PM Subject: Re: Xpath query in xindice 1.1b1 Hi Julien, When I came accross the problem I just decided to use the CVS version which has something lile ... code snippet private Object evalFunction(String

Re: Xpath query in xindice 1.1b1

2003-11-10 Thread Julien Le Dem
ities like adding/replacing documents in collections and performing XPath requests. Thanks, Julien - Original Message - From: "JC Tchitchiama" <[EMAIL PROTECTED]> To: ; "Julien Le Dem" <[EMAIL PROTECTED]> Sent: Monday, November 10, 2003 3:44 PM Subject: Re: Xpat

Re: Xpath query in xindice 1.1b1

2003-11-10 Thread JC Tchitchiama
Hi Julien, When I came accross the problem I just decided to use the CVS version which has something lile ... code snippet private Object evalFunction(String owner, int pos) throws Exception { int idx = Compiler.getFirstChildPos(pos); int id = cmp.getOp(idx); int

Xpath query in xindice 1.1b1

2003-11-10 Thread Julien Le Dem
When sending an xpath request using a function (like count(...) ) I have anexception.package org.apache.xindice.core.queryclass XPathQueryResolver  private Object evalFunction(String owner, int pos) throws Exception { int idx = cmp.getFirstChildPos(pos); int id = cmp.g

AW: Error with simple xpath query

2003-10-30 Thread Jaksch Stefan
on: Miguel Angel Urrutia Soler [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 30. Oktober 2003 09:05 An: xindice-users@xml.apache.org Betreff: Error with simple xpath query Hello: I have a problem, when I do the xpath query "/DataSource" at a collection that

Error with simple xpath query

2003-10-30 Thread Miguel Angel Urrutia Soler
Hello: I have a problem, when I do the xpath query "/DataSource" at a collection that contains documents with this

re: XPath query on ONE document

2003-10-19 Thread tycho brahe
you can add the 'name' parameter params.put(RPCDefaultMessage.NAME, "name of the file"); in fact, when I dont specify 'name', I get a complaint, so I'm unable to query an entire collection so far. /tycho Is there a way with Xindice to execute a XPath query a

XPath query on ONE document

2003-10-19 Thread Matthieu RIOU
Hi, Is there a way with Xindice to execute a XPath query against only one document instead of the whole collection ? The only solution I found was to add the document id inside the document and execute a query on the element I really cared about like : /db/root/id[.=12]/../customer/name But

Re: Xpath query

2003-07-05 Thread morten svanæs
m: "Mark J. Stang" <[EMAIL PROTECTED]> To: Sent: Friday, July 04, 2003 7:28 PM Subject: Re: Xpath query > Hi, > Can you print out the xml for the xupdate and send that by itself? Also, the > document that you added to the collection. I have a test environment where I &g

Re: Xpath query

2003-07-04 Thread Mark J. Stang
y is runned from a class, the source is from the example that is in > the dist. > I have only changed the xpath query, se source below. > The xindice version is from > http://xml.apache.org/dist/xindice/xml-xindice-war-1.1b1.zip > I test the class with Intellij IDEA , when I

Re: Xpath query

2003-07-04 Thread morten svanæs
Hi, the query is runned from a class, the source is from the example that is in the dist. I have only changed the xpath query, se source below. The xindice version is from http://xml.apache.org/dist/xindice/xml-xindice-war-1.1b1.zip I test the class with Intellij IDEA , when I use j2se1.4.2 it

Re: Xpath query

2003-07-04 Thread Mark J. Stang
What is your command-line and os? morten svanæs wrote: > Hi, > I've have a webapp that use Xindice and I use xpath queries like > //THING[contains(FOO,'bar')] > This worked perfectly fine until something happend and now queries like this > don't return anything ! > Any suggestions on what I'm doi

Xpath query

2003-07-03 Thread morten svanæs
Hi, I've have a webapp that use Xindice and I use xpath queries like //THING[contains(FOO,'bar')] This worked perfectly fine until something happend and now queries like this don't return anything ! Any suggestions on what I'm doing wrong ? Morten Svanæs

RE: Xpath Query "//*"

2003-06-23 Thread Kevin Ross
t, and check for the appropriate output. Once that is done, please file a bug in bugzilla so we make sure your hard work doesn't go to waste. Thanks, Kevin Ross -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2003 9:05 PM To: XIndice U

Xpath Query "//*"

2003-06-22 Thread cbo19
Hi, When displaying all the document contents to the output stream using an xpath query //*, and using a resource iterator, it is printing a copy of each document twice. It looks like debugging output. The build being used is from the a CVS download on Friday 20th june. Is there a way to turn

RE: Xpath query not working, me confused...!

2003-04-08 Thread Trevor Leung
@xml.apache.org Subject: RE: Xpath query not working, me confused...! Hi Trevor, On Tue, 8 Apr 2003, Trevor Leung wrote: > xindice xpath -v -c /db/test -q /person[fname="Paul"] > > it return nothing, is there any wrong with me??? No, nothing wrong with you, I see exactly the same be

Re: Xpath query not working, me confused...!

2003-04-08 Thread Suzan Foster
Paul Brown: > I'm using the query: > "//enaml/header/date/text()" > To try and retrieve all the text() nodes of the 'date' element from > within a collection of 'enaml' documents, where is the root > element of each document. > > However the query returns no values into: > > ResourceS

RE: Xpath query not working, me confused...!

2003-04-08 Thread Andrew Savory
Hi Trevor, On Tue, 8 Apr 2003, Trevor Leung wrote: > xindice xpath -v -c /db/test -q /person[fname="Paul"] > > it return nothing, is there any wrong with me??? No, nothing wrong with you, I see exactly the same behaviour. Modifying the query to: xindice xpath -v -c /db/test -q '/person[contai

RE: Xpath query not working, me confused...!

2003-04-08 Thread Trevor Leung
ny wrong with me??? Thanks for any help. Regards, Trevor -Original Message- From: Paul Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 08, 2003 7:05 AM To: xindice-users@xml.apache.org Subject: Xpath query not working, me confused...! I'm using the query: "//e

Xpath query not working, me confused...!

2003-04-07 Thread Paul Brown
I'm using the query: "//enaml/header/date/text()" To try and retrieve all the text() nodes of the 'date' element from within a collection of 'enaml' documents, where is the root element of each document. However the query returns no values into: ResourceSet resultSet = service.q

Re: XPath query for an attribute value

2003-03-18 Thread Mark J. Stang
eu8eias > paramono me parsing. > > Grigorios D. Tsoumakas wrote: > > >Hi, > > > >Does anyone know how can I retrieve the value for an > >attribute of an element through an XPath Query... > >using the Xindice XML:DB API? > > > >For example suppose

Re: XPath query for an attribute value

2003-03-17 Thread George Papamarkos
i egw. Apo osa exw dei mexri ta twra den ypostirizetai kati tetoio apeu8eias paramono me parsing. Grigorios D. Tsoumakas wrote: Hi, Does anyone know how can I retrieve the value for an attribute of an element through an XPath Query... using the Xindice XML:DB API? For example suppose that I hav

XPath query for an attribute value

2003-03-17 Thread Grigorios D. Tsoumakas
Hi, Does anyone know how can I retrieve the value for an attribute of an element through an XPath Query... using the Xindice XML:DB API? For example suppose that I have the following element somewhere in the xml document in Xindice: I use the following XPATH query to retrieve all "ex

[Fwd: xpath query - ignore case sensitive]

2003-03-17 Thread Mark J. Stang
above example, FirstName is the node name. i.e. > > John > . > > > Why are we translating the node name? Shouldn't we be interested only in its > node value? > > and finally can you recommend me any online resource on this topic. > > Thanks again.

RE: XPath query problem

2003-01-07 Thread Tom Wang
From: Tom Wang [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 07, 2003 11:23 AM > To: xindice-users@xml.apache.org > Cc: [EMAIL PROTECTED] > Subject: XPath query problem > > > Hello, > > I'm a new user to Xindice and I just installed the software. I > have an XM

XPath query problem

2003-01-07 Thread Tom Wang
Hello, I'm a new user to Xindice and I just installed the software. I have an XML doc looks like: Roddick 200 1.1.1980 10:10:10 I'm testing xpath query as: xindice.bat xpath -c /db/test -q //[EMAIL PROTECTED] Above query runs fine and returns th

Re: AW: Xpath query returns namespaces in every tag

2002-11-05 Thread Terry Rosenbaum
Stefan Lischke wrote: Thanks Terry, In bugzilla see bug # 13746. (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13746) thats exactly my problem. the reporter says it had fixed it by removing some code lines. is this in the actual CVS? or should i fix this by myself? I hacked the source

AW: Xpath query returns namespaces in every tag

2002-11-05 Thread Stefan Lischke
Hi, I found some Methods in org.xmldb.api.modules Interface XPathQueryService removeNamespace, clearNamespace what for are these Methods? i think i should use them before starting the query() mfg Stefan

AW: Xpath query returns namespaces in every tag

2002-11-05 Thread Stefan Lischke
Thanks Terry, > In bugzilla see bug # 13746. > (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13746) thats exactly my problem. the reporter says it had fixed it by removing some code lines. is this in the actual CVS? or should i fix this by myself? mfg stefan

  1   2   >