There's a Wiki entry that is helpful:

http://wiki.cocoondev.org/Wiki.jsp?page=XMLIndiceCocoon2.1

Please note that since Xindice 1.1 uses xml-rpc,
you'll need to put xmlrpc-1.1.jar in:

$CATALINA_HOME/webapps/cocoon/WEB-INF/lib

Here is a snippet from an experimental sitemap I'm
playing with at the moment.

<map:match pattern="remotedb/**">
 <map:match type="request-parameter" pattern="xpath">
  <map:generate 
  
src="xmldb:xindice://localhost:8080/db/{../1}#{1}"/>
  <map:serialize type="xml"/>
 </map:match>
 <map:generate 
  src="xmldb:xindice://localhost:8080/db/{1}"/>
 <map:serialize type="xml"/>
</map:match>

This has been more or less shamelessly copied from:

http://localhost/cocoon/samples/xmldb/welcome

and its sitemap.xmap in:

$CATALINA_HOME/webapps/cocoon/samples/xmldb/

HTH
/mde/
just my two cents . . . .

__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003

Reply via email to