Re: AW: AW: Cocoon and Xindice

2002-08-19 Thread KOZLOV Roman



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:[EMAIL PROTECTED]]
> Gesendet am:Montag, 19. August 2002 14:38
> An: [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]]
> > Gesendet am:Montag, 19. August 2002 13:37
> > An: [EMAIL PROTECTED]
> > 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:
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > 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:
> > <[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <[EMAIL PROTECTED]>
> >
> >
> -
> > 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:
> <[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <[EMAIL PROTECTED]>
>
>
> -
> 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:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
>
> -
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
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: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: AW: Cocoon and Xindice

2002-08-19 Thread praktikant

Sorry, my english isn't very good. :(
My problem is that I get no response from my database when I use Cocoon.
And I want to have the xml data from my xml database.
But the browser shows me only the procedure that I have written to "speak"
with the database

I hope these explain it.

-Ursprüngliche Nachricht-
Von:KOZLOV Roman [mailto:[EMAIL PROTECTED]]
Gesendet am:Montag, 19. August 2002 14:38
An: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
> Gesendet am:Montag, 19. August 2002 13:37
> An: [EMAIL PROTECTED]
> 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:
>
> 
> 
> 
> 
> 
> 
> 
>
> 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:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
>
>
-
> 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:
<[EMAIL PROTECTED]>
> For additional commands, e-mail:
<[EMAIL PROTECTED]>



-
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:
<[EMAIL PROTECTED]>
For additional commands, e-mail:
<[EMAIL PROTECTED]>

-
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: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: AW: Cocoon and Xindice

2002-08-19 Thread KOZLOV Roman

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:[EMAIL PROTECTED]]
> Gesendet am:Montag, 19. August 2002 13:37
> An: [EMAIL PROTECTED]
> 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:
>
> 
> 
> 
> 
> 
> 
> 
>
> 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.
> 
>
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: Cocoon and Xindice

2002-08-19 Thread praktikant

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:[EMAIL PROTECTED]]
Gesendet am:Montag, 19. August 2002 13:37
An: [EMAIL PROTECTED]
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:







 


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.


To unsubscribe, e-mail:
<[EMAIL PROTECTED]>
For additional commands, e-mail:
<[EMAIL PROTECTED]>

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: Cocoon and Xindice

2002-08-19 Thread praktikant

Hi,
that was the result of 


http://apache.org/cocoon/xmldb/1.0";>
  
http://xml.apache.org/xindice/Query";
  src:col="/db/addressbook"
  src:key="address1">
  John
  Smith
  563-456-7890
  534-567-8901
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  34 S. Colon St.
  9967 W. Shrimp Ave.

  


This is a .xml - file used in the sitemap.xmap.
And want I want to have is something like that


  John
  Smith
  563-456-7890
  534-567-8901
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  34 S. Colon St.
  9967 W. Shrimp Ave.


but I don't know what to do.

-Ursprüngliche Nachricht-
Von:KOZLOV Roman [mailto:[EMAIL PROTECTED]]
Gesendet am:Montag, 19. August 2002 09:45
An: [EMAIL PROTECTED]
Betreff:Re: Cocoon and Xindice

Hi,
What source do you mean? The snippet you have sent is a result of
xpath query
on Xindice database (with xpath value
"//person[contains(fname,'John')]" on the
"/db/addressbook" collection).
What do you mean by "xml code to get xml data"? Xindice data are
retrieved by
URL's with or without xpath parameter. Then the result xml could be
processed
in a pipeline.
Roman

praktikant wrote:

> I want to get some xml data out of a xml database.
> I have written some xml code to get the xml data, but I get only
the source
> code.
>
> Output of the browser:
>
> 
>  xmlns:collection="http://apache.org/cocoon/xmldb/1.0";>
> 
>  xmlns:src="http://xml.apache.org/xindice/Query";>
> John
> Smith
> 563-456-7890
> 534-567-8901
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 34 S. Colon St.
> 9967 W. Shrimp Ave.
> 
> 
> 
>
>
-
> Please check that your question  has not already been answered in
the
> FAQ before posting.

>
> To unsubscribe, e-mail:
<[EMAIL PROTECTED]>
> For additional commands, e-mail:
<[EMAIL PROTECTED]>



-
Please check that your question  has not already been answered in
the
FAQ before posting.


To unsubscribe, e-mail:
<[EMAIL PROTECTED]>
For additional commands, e-mail:
<[EMAIL PROTECTED]>

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: Cocoon and XIndice versions

2002-03-23 Thread Axel Honfi


Hello!

First, I think that jdk1.4 may cause some problems, but read in the archives
for more on that.

You don't need a new cvs-snapshot, just use cocoon2 normal release and
define the xmldb pseudo protocol in cocoon.xconf:









because the generator will be deprecated and is not so efficent.

Then remove the xmldb-samples in the sitemap and copy the xindice.jar
(different package names than dbxml) into cocoon.

Then you can generate SAX events by using



in the sitemap (this sample uses an xpath query - if you don't want to query
use the xml-object-id instead of everything beginning with '#').

If you want to include some database-xml in an xsp-file use:



If you want to update the database use the xmldb-transformer from the
scratchpad, but for the "update" execution you have to add a patch or
workaround because xalan removes the xupdate-namespace, you can also find
this in the archives.

At least this worked with me, I hope you can make it run

Axel

-Ursprungliche Nachricht-
Von: Alex McLintock [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 22. Marz 2002 18:04
An: [EMAIL PROTECTED]
Betreff: Cocoon and XIndice versions


Hi folks,

I'm trying to find satisfactory versions of Cocoon and XIndice which work
together.

I am told that I need a CVS version of cocoon rather than the latest
release - but the CVS snapshots don't currently work.
(I am using Xinidice 1.0 and Tomcat 4.0something on RedHat Linux 7.2, and
Sun's JDK 1.4)

Any ideas? Is it ok discussing cvs snapshots on the "users" list?

Older versions of Cocoon use a deprecated generator system for talking to
Xindice rather than the now standard "source".


Alex




Cocoon 2 - Internal server error

type fatal

message Error compiling sitemap

description org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.NoClassDefFoundError

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/

path-info

stack-trace

org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.NoClassDefFoundError
 at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
 at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NoClassDefFoundError
 at org.apache.batik.dom.svg.SAXSVGDocumentFactory.(Unknown Source)
 at org.apache.cocoon.xml.dom.SVGBuilder.(SVGBuilder.java:86)
 at
org.apache.cocoon.serialization.SVGSerializer.(SVGSerializer.java:95)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)






Openweb Analysts Ltd, London
Software For Complex Websites
http://www.OWAL.co.uk/


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>