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/01 11:48:16 UTC
RE : RE : RE : RE : Changing dbroot attributes in system.xml
Could your elaborate on?
-----Message d'origine-----
De : Yury Mikhienko [mailto:Yury.Mikhienko@mobicomk.ru]
Envoyé : mardi 1 juillet 2003 11:21
À : xindice-users@xml.apache.org
Objet : Re: RE : RE : RE : Changing dbroot attributes in system.xml
On Tue, 1 Jul 2003 09:38:15 +0200
"Olivier RICHAUD" <ol...@richaud.net> wrote:
> Thanks, it works fine now.
>
> By the way, what about Cocoon integration? I saw version 1.0 was
> integrated with Cocoon. What about the current version?
>
> Olivier.
>
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"
RE : Changing dbroot attributes in system.xml
Posted by Olivier RICHAUD <ol...@richaud.net>.
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"
Re: Changing dbroot attributes in system.xml
Posted by Yury Mikhienko <Yu...@mobicomk.ru>.
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"