> From: Alex McLintock [mailto:[EMAIL PROTECTED]] > > Would it be possible for someone to put together an idiots guide to using > Xindice with Cocoon2? > > I am seeing conflicting advice in the mailing lists, docs, and website and > it is really confusing me. (Hence I am not in a position to write the > idiots guide myself :-(
Make it work and put a guide together... Start with installing xindice, default settings. Then, download Cocoon src version. Copy xindice.jar into cocoon/lib/optional. Rebuild cocoon: build clean build -Dinclude.webapp.libs=yes webapp. > Assume I don't care about old dbXML versions of the database, Xindice is > the current version. > (It was really confusing to have the API and program called the same thing: > When I see dbxml I never know whether it refers to the API or old software.) > > Should I be using Generators? No. > I can't find any relevant code in the recent > Cocoon2.0.rc2 build and am not keen to go to cvs if I can avoid it. Try night CVS snapshot. It's easier then getting CVS version. > The website and docs say to use them Can you give an URL where you saw this? > - but people on the mailing list say not to. They are right. > When using the dbxml:xindice://db/somethingorotherquery source how do I Correction: dbxml:xindice:///db/collection/resource#query (IIRC; see sitemap) > tell it *where* the database resides? dbxml:xindice://host:port/db/collection/resource#query Host and port are optional, defaults to localhost:4080 > Is the word "xindice" a machine name > in this example query? No, this is driver name. See cocoon.xconf. Vadim > Sorry for asking so many questions in the last couple of days... > ===================== > PS I never got to the bottom of my slow PDF generation problem. FOP works > fine when run from the command line.... so I have a work around > Alex --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>