You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Olivier RICHAUD <ol...@richaud.net> on 2003/07/02 11:34:28 UTC

RE : Changing dbroot attributes in system.xml

Ok, I almost understand, but could you give me a sample url as an
example of query?

Sorry, I'm new to Xindice.

Olivier.

-----Message d'origine-----
: Yury Mikhienko [mailto:Yury.Mikhienko@mobicomk.ru] 
Envoyé : mardi 1 juillet 2003 15:37
À : xindice-users@xml.apache.org
Objet : Re: Changing dbroot attributes in system.xml


Cocoons XMLDBSource and XMLDBSourceFactory use the xmldb api for access
the xindice database and implements the xmldb:xindice cocoon pseudo
protocol.

I install the xindice1.1b on tomcat 4.1.24 and get the documents from
database with cocoon using. For example: in cocoon's sitemap:

   <map:match pattern="db-news">
    <map:match type="request-parameter" pattern="query">
     <map:generate src="xmldb:xindice:///db/web/news-arch/#{1}"/>
     <map:serialize type="xml"/>
    </map:match>
   </map:match>


> Could your elaborate on?
> 
> 
> What do you mean "the cocoon integration"?
> Cocoon has the XMLDBSource and XMLDBSourceFactory classes for 
> implementation the xmldb:xindice pseudo protocol.
> 


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"