Reinstalling Xindice (to work with Cocoon and JDK 1.4 on Linux) so this time
I'll aim before shooting ;-). Here are some Xindice questions:

Question 1) In the config/system.xml file why is
the HTTPServer docroot="./docs/"? (The docroot term is a bit misleading, its
value appears to be prepended to all http URIs.) Why is it not the same as
XindiceService root-collection dbroot="./db/"? That is, having HTTPServer
docroot="./db/" instead appears to be more in line with what I will use http
for, i.e. remote database operations.
I can alias "/" (or "." or ""?) to "./docs" if I want the doc page to show
on default. So http://localhost:4080/addressbook goes to the addressbook db.
Or do I have it all wrong?

Question 2) What determines the location of the file db_database.ior?
Can be it created/relocated to the ./db directory instead of the ./docs
directory?

Questions 3) I thought I saw an example of using the comand line to access
the database using the http syntax e.g.
xindiceadmin ... http://localhost:4080/db/addressbook/?xpath=//person
but don't seem to be able to find/figure it out at this hour. A hint please
:-)

Looking forward to getting it exactly right this time.
Other tips appreciated.

Thanks,
Michael


Reply via email to