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 there is no 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.

That is the correct file. As to how to use it, you can either use it as a servlet, in which case you need to find a xindice.bat that will start up the included jetty servlet container, or you can use it in embedded mode. Check out the docs on http://xml.apache.org/xindice/ and http://wiki.apache.org/xindice/

'Fraid I can't help you more.

Upayavira

Best wishes,
Yu

>From: Upayavira >Reply-To: xindice-users@xml.apache.org >To: xindice-users@xml.apache.org >Subject: Re: xpath query with contains function >Date: Thu, 11 Mar 2004 16:29:55 +0000 > >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) to test the code. >>The code is as follows: >> >>col = >>DatabaseManager.getCollection("xmldb:xindice://localhost:4080/db/addressbook"); >> >>String xpath = "//person[contains(email,'jsmith')]"; >> >>XPathQueryService service = (XPathQueryService) >>col.getService("XPathQueryService", "1.0"); >>ResourceSet resultSet = service.query(xpath); >>ResourceIterator results = resultSet.getIterator(); >> >>I am using xindice 1.0 on Windows 2000. Does anyone know how to fix >>this problem? Thanks a lot. >> >Try using Xindice 1.1. You'll find it much more developed, and much >better supported. And will probably fix your problem. > >Regards, Upayavira > > >

------------------------------------------------------------------------
The new MSN 8: <http://g.msn.com/8HMAEN/2737??PS=> smart spam protection and 2 months FREE*





Reply via email to