cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KOZLOV Roman <r-koz...@opencascade.com>
Subject Re: AW: AW: Cocoon and Xindice
Date Mon, 19 Aug 2002 13:06:28 GMT


praktikant wrote:

> Sorry, my english isn't very good. :(
> My problem is that I get no response from my database when I use Cocoon.

Your "xml-source" is a typical response from Xindice.

> And I want to have the xml data from my xml database.

You have it within collection:result element of Xindice response. You just have
to transform this response to get the content of collection:result element(s).

>
> But the browser shows me only the procedure that I have written to "speak"
> with the database

What do you mean by "the procedure you have written to \"speak\" with the
database". How do you try to get data from the db. Do you use URL request or
something else?

What is your pipeline?

Roman

>
>
> I hope these explain it.
>
>         -----Urspr√ľngliche Nachricht-----
>         Von:    KOZLOV Roman [mailto:r-kozlov@opencascade.com]
>         Gesendet am:    Montag, 19. August 2002 14:38
>         An:     cocoon-users@xml.apache.org
>         Betreff:        Re: AW: Cocoon and Xindice
>
>         There is no difference. You have to transform your "xml source" to
> what you
>         want.
>         Roman
>
>         praktikant wrote:
>
>         > Hi,
>         >
>         > that's the point. I do not have the xml-data. I only get the
> uninterpreted
>         > xml source.
>         >
>         >         -----Urspr√ľngliche Nachricht-----
>         >         Von:    kavitha ramesh [mailto:kavitha_igd@yahoo.co.in]
>         >         Gesendet am:    Montag, 19. August 2002 13:37
>         >         An:     cocoon-users@xml.apache.org
>         >         Betreff:        Re: Cocoon and Xindice
>         >
>         >         Hi,
>         >
>         >         You have written that you get the xml data in the
>         >         browser.If you need a html file in the browser, you
>         >         have to use a stylesheet and your sitemap should be as
>         >         follows:
>         >
>         >         <map:pipeline>
>         >         <map:match pattern="db_test">
>         >         <map:generate src="db_test.xml"/>
>         >         <map:transform src="db_test.xsl"/>
>         >         <map:serialize/>
>         >         </map:match>
>         >         </map:pipeline>
>         >
>         >         You should have a stylesheet db_test.xsl!
>         >
>         >         Kavitha
>         >
>         >
>         >
> ________________________________________________________________________
>         >         Want to sell your car? advertise on Yahoo Autos
> Classifieds. It's
>         > Free!!
>         >                visit http://in.autos.yahoo.com
>         >
>         >
>         >
> ---------------------------------------------------------------------
>         >         Please check that your question  has not already been
> answered in
>         > the
>         >         FAQ before posting.
>         > <http://xml.apache.org/cocoon/faq/index.html>
>         >
>         >         To unsubscribe, e-mail:
>         > <cocoon-users-unsubscribe@xml.apache.org>
>         >         For additional commands, e-mail:
>         > <cocoon-users-help@xml.apache.org>
>         >
>         >
> ---------------------------------------------------------------------
>         > Please check that your question  has not already been answered in
> the
>         > FAQ before posting.
> <http://xml.apache.org/cocoon/faq/index.html>
>         >
>         > To unsubscribe, e-mail:
> <cocoon-users-unsubscribe@xml.apache.org>
>         > For additional commands, e-mail:
> <cocoon-users-help@xml.apache.org>
>
>
> ---------------------------------------------------------------------
>         Please check that your question  has not already been answered in
> the
>         FAQ before posting.
> <http://xml.apache.org/cocoon/faq/index.html>
>
>         To unsubscribe, e-mail:
> <cocoon-users-unsubscribe@xml.apache.org>
>         For additional commands, e-mail:
> <cocoon-users-help@xml.apache.org>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message