This is what I want to do (surely nothing unusual):
- use Cocoon as my XML-XSLT-capable middleware; - use Xindice as my native XML database sitting in the background; - use XSLT to accomplish as much as possible of my system logic
First off, I couldn't find a way to install Xindice within Cocoon without building a WAR file. Is there a way to do this?
All you need is http://www.cocooncenter.org/cc/documents/resources/xindice/index.html
But be careful here:
> I would be happy to describe how I managed to set up Xindice so I can > use it through the document() function in my XSLT stylesheets, if that > really is worth doing (i.e. hasn't already been done before).
In theory you should be able to use the document() function in your stylesheet with the XML:DB pseudo protocol right away. But using document() in Cocoon is seriously deprecated, for architectural and caching issues: there are better ways of doing it.
Why an Xinclude transformation in the pipeline wouldn't work?
Ciao,
-- Gianugo Rabellino CTO Pro-netics s.r.l. http://www.pro-netics.com
