Re: breadcrumb navigation

2002-03-25 Thread Andreas Hartmann
Hi Charles, >Hello List! > Has anyone figured out a good way to generate breadcrumb navigation >links using XSL and Cocoon? Like the ones at the top of Yahoo! pages. >We plan on doing this and I don't want to reinvent the wheel. I'd >rather not do it with sessions or cookies . . . I inclu

Re: Include Pipeline output in XSP.

2002-03-25 Thread KOZLOV Roman
Hi Sandhu, As it was already described in the list, you can generate in separate pipeline (or match) your XSP as XML first, aggregating with or transforming from your Xindice query results. Then you can refer to this pipeline as to a source for XSP generator in other pipeline. Best regards

Re: AW: cocoon & Websphere 3.55

2002-03-25 Thread Souillard M Ext DvSI/SICoR
I deployed Cocoon 2.0.1 (the war file) within WAS3.55, and added the jar file in the classpath of my application server containing the cocoon web application, and I got the same error (errors included bellow) Any other tip / idea ? ? Does anybody work with WAS3.5x and Cocoon 1.x ? Michael. *

Re: Include Pipeline output in XSP.

2002-03-25 Thread [EMAIL PROTECTED]
Reasons to do this : 1.I need to extract XML from Xindice using Pseudo-Protocol. 2. The extracted xml has namespaces pointing to builtin logicsheets . 3. The namespace has to be resolved in XSP - generator. (Is there any other way w/o type="serverpages" generator to resolve namespace). Therefore

RE: Include Pipeline output in XSP.

2002-03-25 Thread Vadim Gritsenko
Hm, why do you want to do this? Anyway, take a look at the sub sitemaps samples then to get an idea what Cocoon can do. Vadim > From: sandhu@terra-firma [mailto:[EMAIL PROTECTED]] > > > CInclude transformer can do the job. See samples. > > Dear Vadim, > > > i've tried that , but the transf

Re: Include Pipeline output in XSP.

2002-03-25 Thread [EMAIL PROTECTED]
CInclude transformer can do the job. See samples. Dear Vadim, i've tried that , but the transformer works after the generate bit - i.e xml gets included in the transformer stage- i need to work on included xml in xsp generator itself - before transform stage. basically need to call a pipelin

AW: breadcrumb navigation

2002-03-25 Thread Axel Honfi
Hi! If you mean to show a "navigation-path" like subdirectories, I would enable sitemap-parameters in the XSLT-Transformer and use the request-url of the user as name(I think they did the same at yahoo changing the '_' to a blank space). Maybe that helped you Axel -Ursprüngliche Nachricht-

breadcrumb navigation

2002-03-25 Thread Charles Yates
Hello List! Has anyone figured out a good way to generate breadcrumb navigation links using XSL and Cocoon? Like the ones at the top of Yahoo! pages. We plan on doing this and I don't want to reinvent the wheel. I'd rather not do it with sessions or cookies . . . Charles -

XSP outside cocoon

2002-03-25 Thread Shaikh, Mehmood
I want to use xsp outside cocoon, i.e. i want to run a java program inside my xsl. Is there a way? Thanks Mehmood - Please check that your question has not already been answered in the FAQ before posting.

livesites

2002-03-25 Thread Jon Bitmead
http://www.navigationzone.net http://www.navigationzone.org   Using Cocoon 2

problem. help me please

2002-03-25 Thread Mariano
hi falks, when i try to run my cocoon server to use the examples i get this error type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 0, column 0: c

RE: Cocoon2: ESQL nested queries optimization

2002-03-25 Thread Argyn Kuketayev
> Although you have to write a bit of Java, it is minimal. that's what I want to avoid. I'm trying to work out the way to design a reporting module, so that report developer don't have to mess with Java. > The only puzzling thing is you state at the beginning that > you need to do > this for e

RE: Cocoon2: ESQL nested queries optimization

2002-03-25 Thread Faulkner, Perry
Hi Argyn, You might try: String id; select ID from M... id = ; ... select f1 from F where ID = id ... Although you have to write a bit of Java, it is minimal. I thin

RE: Cocoon2 SVG Caching

2002-03-25 Thread Vadim Gritsenko
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > I am dynamically creating thumbnailed JPEG images through an XSP --> XSL XSP! Read below... > (which creates the SVG) --> svg2jpeg serializer pipeline. However, Cocoon > does not cache the generated images in the filesystem, and since th

RE: Include Pipeline output in XSP.

2002-03-25 Thread Vadim Gritsenko
CInclude transformer can do the job. See samples. Vadim -Original Message- From: sandhu@terra-firma [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 12:41 PM To: [EMAIL PROTECTED] Subject: Include Pipeline output in XSP. Hi users,   I need to include cocoon pipeline output into 

problems with hpas, jdk1.3.1_02 and c2.0.2-dev on NT4.0

2002-03-25 Thread Juhani Ränkimies
Hi, I've made a test app with cocoon 2.0.2-dev that generates reports from data in SQL Server database. On my laptop (win2000, jdk1.3.1_01, tomcat4.0.1) and test server (win2000, jdk1.3.1_01, hpas8.0) response times are 200-800 ms but on the production server (NT4.0, jdk1.3.1_01, hpas8.0) respo

Re: Sql Transformer

2002-03-25 Thread William Moore
Markus Did you get ny replies off-list to your question? I too had lots of problems with SQLTransformer, but managed to find workarounds. In particular there seems to be a problem with namespaces. It is described (and fixed) by Christopher Watson in the message with subject "RE: Cocoon 2.0 r

RE: Problem with sub-sitemap

2002-03-25 Thread TREGAN Fabien
>HOWEVER - it continues to read tic1.xml/tic1.xsl >EVEN after a full reboot and relaunching apache. Try to delete the tomcat/work dir. fabien. - Please check that your question has not already been answered in the FAQ before po

Stuck after DB insertion

2002-03-25 Thread Jonathan Crenner
Hi All, Here is my config: * Win 2000 Pro * Tomcat 4.0.3 * Jdk 1.3.1 * SQL Server 8.0 * MySql 3.23.44 I developed a simple form making a DB insertion in SQL Server or MySql. The insertion in the DB is performed but the browser keeps loading and never displays the confirmation page... This is

problems with hpas and c2.0.2-dev on NT4.0

2002-03-25 Thread Juhani Ränkimies
Hi, I've made a test app with cocoon 2.0.2-dev that generates reports from data in SQL Server database. On my laptop (win2000, jdk1.3.1_01, tomcat4.0.1) and test server (win2000, jdk1.3.1_01, hpas8.0) response times are 200-800 ms but on the production server (NT4.0, jdk1.3.1_01, hpas8.0) respo

Cocoon2 SVG Caching

2002-03-25 Thread morganff2000
I am dynamically creating thumbnailed JPEG images through an XSP --> XSL (which creates the SVG) --> svg2jpeg serializer pipeline. However, Cocoon does not cache the generated images in the filesystem, and since the original images are huge, uncompressed TIFF files, the transformations take a

Include Pipeline output in XSP.

2002-03-25 Thread [EMAIL PROTECTED]
Hi users,   I need to include cocoon pipeline output into an XSP page - has anyone done this using the pseudo protocol "xmldb:xindice:// "  .   XSP page to have something like :       or include or import etc. I need to work on the incoming xml in the XSP itself.   Appreciate any help.  

Cocoon2: ESQL nested queries optimization

2002-03-25 Thread Argyn Kuketayev
> I've to make a report on the table M, then for each row I > need to show corresponding rows from tables F and C. > > Something like this: > > > > 1 > > > > f1 > > ... > > > > > c1 > > > > > .

DTD declaration disappears

2002-03-25 Thread Matthieu Benéteau
Hi, I have a "test.xml" file which contains a DTD declaration : When I retrieve it with the following simple pipeline the DTD declaration disappears. Is there a way to configure the generator or the serializer so that I can get it back ? Matthieu -

RE: Cocoon2: couldn't make nested queries work for ESQL in XSP.

2002-03-25 Thread Argyn Kuketayev
Thank you, Marty! I don't know what was the problem, I was doing almost the same. Now it works. Argyn -Original Message- From: Marty McClelland [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 11:17 AM To: [EMAIL PROTECTED] Subject: RE: Cocoon2: couldn't make nested queries work

RE: XSL question

2002-03-25 Thread Piroumian, Konstantin
> From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] > > Just another thought > > If you have the handle to the Transformer object, you could > parse or obtain the parameters and then set use the > setParameter() method on the Transformer object to set the > parameters for the XSL... To

REVIEW: Cocoon Performace Guide

2002-03-25 Thread Gerhard Froehlich
Hi Team, I grepped/seded/awked the Cocoon Mailing Lists for all key words like Performance Tuning and so on. Like brainstorming I first wrote them all down unsorted. In a second step I tried to sort them in chapters. The result of this creative process is now in the CVS! Please check-out:

RE: XSL question

2002-03-25 Thread Chitharanjan Das
Just another thought If you have the handle to the Transformer object, you could parse or obtain the parameters and then set use the setParameter() method on the Transformer object to set the parameters for the XSL... To do the above, you may have to write your own generator (refer Stream G

RE: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1

2002-03-25 Thread Chitharanjan Das
Thanks a lot.. Regds, Chiths accordia, inc 34347 Maybird Circle Fremont, CA 94555 650 279 1137 [EMAIL PROTECTED]   The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may conta

RE: Re: XSL question

2002-03-25 Thread Matthieu Benéteau
> > Hi Mauri, > > I couldn't forget ;). Neither could I :). You can also include both stylesheets and differentiate the templates with the "mode" attribute of . Then you choose the stylesheet depending on the value of a parameter (), and call the templates with . Another way to perform what you

Re: Re: XSL question

2002-03-25 Thread Kai Bruns
Hi Mauri, I couldn't forget ;). Perhaps you could not *include* the stylesheet but do a second transformation after your first one. Depending on your parameter you could insert a new processing instruction to do the transformation you'd like. It could look like Kai

RE: Cocoon2: couldn't make nested queries work for ESQL in XSP.

2002-03-25 Thread Marty McClelland
I've done a number of nested queries in C1.8.2 and as far as I know the approach is the same in C2. Here is an example: select Distinct Contribute.Centity_id, Contribute.role FROM Contribute , Collection_resources where Collection_resources.Collection_id=collectionID and Collec

Re: XSL question

2002-03-25 Thread Martin Mauri
it worked good, thanks! - Original Message - From: "Stefan Seifert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 25, 2002 1:11 PM Subject: RE: XSL question > Try this: > > > > ]> > > ... > > > Stefan > > > -Original Message- > > From: Martin Mauri [

RE: XSL question

2002-03-25 Thread Stefan Seifert
Try this: ]> ... Stefan > -Original Message- > From: Martin Mauri [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 25, 2002 4:51 PM > To: [EMAIL PROTECTED]; Richard Korthuis > Subject: Re: XSL question > > > Ok, forget it anyway. Here goes another. Does anyone remember > how to d

Re: XSL question

2002-03-25 Thread Martin Mauri
Title: RE: XSL question Ok, forget it anyway. Here goes another. Does anyone remember how to define entities inside an xml file without the need of declaring the use of a DTD?   thanks! - Original Message - From: Richard Korthuis To: [EMAIL PROTECTED] Sent: Monday,

Re: XSL question

2002-03-25 Thread Richard Korthuis
Title: RE: XSL question Hello,   What is this outside source? Are you calling the xml with a param (http:///index.xml?param=something) or are you passing this parameter in some other way?   Richard - Original Message - From: Martin Mauri To: [EMAIL PROTECTED] ; Richa

RE: how to tell Cocoon2 to read the xsl-file from the xml-file

2002-03-25 Thread Vadim Gritsenko
> From: Falko Zurell [mailto:[EMAIL PROTECTED]] > > Hi, > > I try to configure an Cocoon2 the way the old Cocoon1 seems to work. > > I have an XML-File with the tag: > > href="../xsl/docbook-xsl-1.49/html/docbook.xsl"?> > > which should tell the Cocoon where to find the XSL-File > > and an

Cocoon2: couldn't make nested queries work for ESQL in XSP.

2002-03-25 Thread Argyn Kuketayev
I've to make a report on the table M, then for each row I need to show corresponding rows from tables F and C. Something like this: 1 f1 ... c1 ... I tried this : It didn't work with an ex

RE: XSL question

2002-03-25 Thread Piroumian, Konstantin
> From: Martin Mauri [mailto:[EMAIL PROTECTED]] > Dear Konstantin, > > That's fine, but what I need to do is to choose dinamically > between two stylesheets to include in the current one, so > it's not possible to use select statement in that stage of > the page. I mean: > > I want to includ

Re: XSL question

2002-03-25 Thread Martin Mauri
Dear Konstantin, That's fine, but what I need to do is to choose dinamically between two stylesheets to include in the current one, so it's not possible to use select statement in that stage of the page. I mean: I want to include or depending on a external variable. thanks! > > If you n

RE: XSL question

2002-03-25 Thread Piroumian, Konstantin
> -Original Message- > From: Martin Mauri [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 25, 2002 5:36 PM > To: [EMAIL PROTECTED] > Subject: Re: XSL question > > > Dear Alexandre, > > Yes, I already know how to use params, but the point here is > that I need to > pass the param from

Re: Cocoon and XIndice versions - FIXED

2002-03-25 Thread Alex McLintock
At 19:17 23/03/2002, Christian Zoffoli wrote: >Vadim Gritsenko wrote: > > > From: root [mailto:root] On Behalf Of Christian Zoffoli > > > > > > Alex McLintock wrote: > > > > > > > > Hi folks, > > > > > > > > I'm trying to find satisfactory versions of Cocoon and XIndice which > > > > work together

Re: XSL question

2002-03-25 Thread Martin Mauri
Title: RE: XSL question Dear Richard,   I understand what you say, but here the problem is if I can get a parameter from an outside source, right? - Original Message - From: Richard Korthuis To: [EMAIL PROTECTED] Sent: Monday, March 25, 2002 11:32 AM Subject: R

Re: XSL question

2002-03-25 Thread Martin Mauri
Dear Alexandre, Yes, I already know how to use params, but the point here is that I need to pass the param from an outside source, say, the xml page that uses this stylesheet ok? I don't know if I'm being clear, but that's my problem. thanks! - Original Message - From: "Alexandre Victoor

Re: XSL question

2002-03-25 Thread Richard Korthuis
Title: RE: XSL question A while ago I made an XML (Cocoon 1.8) which requested a parameter passed on from a form on a webpage. Maybe you can try something similar for your XSL?   http://www.apache.org/1999/SQL" xmlns:xsp="http://www.apache.org/1999/XSP/Core" xmlns:request="http://www.apache.or

Re: XSL question

2002-03-25 Thread Alexandre Victoor
Hi, you need to declare your parameter at the beginiing of the stylesheet : Then in the body of your stylesheet, $yourparam gives you the value of the parameter. Good luck Alex - Please check that your questio

RE: XSL question

2002-03-25 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: XSL question Ah, good point.  I have no experience with pre 2.x Cocoon, so I don't know what would work.  I'm sure others around here can answer that though.   -T -Original Message-From: Martin Mauri [mailto:[EMAIL PROTECTED]]Sent: Monday, March 25, 2002 9:07 AMTo:

Re: XSL question

2002-03-25 Thread Martin Mauri
Title: RE: XSL question Hi Thomas,   That's a good answer, unfortunately I forgot to point that I'm using Cocoon 1.8.2. Is there a solution for it? thanks! - Original Message - From: von Schwerdtner, Thomas (GXS, FPI) To: '[EMAIL PROTECTED]' Sent: Monday, March 25,

RE: XSL question

2002-03-25 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: XSL question Yes. There is a tutorial on this at cocooncenter.org: http://www.cocooncenter.de/cc/documents/resources/request-params/index.html -Tom > -Original Message- > From: Martin Mauri [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 25, 2002 8:56 AM > To: [E

XSL question

2002-03-25 Thread Martin Mauri
Hi, this is a kind of offtopic question I think but anyway... Is there a possibility to pass a parameter to a stylesheet? I'd like to do the following: Given a stylesheet, I'd like to include another but depending on a parameter passed by some external source, say an xml page. thanks in advanc

AW: cocoon & Websphere 3.55

2002-03-25 Thread Michael Zehrer
Hi Michael, with Cocoon 2.0.1+ you can use the import WAR wizard in WAS 3.5.5, additonally you only have to put all jar-files in the classpath argument of the application server (-classpath foo.jar;bar.jar etc) Then it just works... Cheers, Michael -Ursprüngliche Nachricht- Von: Souill

Re: Problem with sub-sitemap

2002-03-25 Thread Bert Van Kets
Delete the work directory, the page is probably still in there. Bert At 14:23 25/03/2002 +0100, you wrote: >Dear All, > >I've set up a sub-sitemap under webapps/cocoon/traffic. >I modified this sitemap to generate a page from files called >tic1.xml/tic1.xsl on access to >http://localhost:8080/coco

Problem with sub-sitemap

2002-03-25 Thread Kirwan, K.
Dear All, I've set up a sub-sitemap under webapps/cocoon/traffic. I modified this sitemap to generate a page from files called tic1.xml/tic1.xsl on access to http://localhost:8080/cocoon/traffic/trafdocs I then changed my mind and restored the original sub-sitemap which loads samples.xml and sim

Re: Cocoon doesn't start: SAXParser not found

2002-03-25 Thread Stephan Michels
On Mon, 25 Mar 2002, Tilman Rassy wrote: > > Hi, > > When I try to start Cocoon 2.0.1, I get the following error > (I use Tomcat 3.3a and Sun's jdk1.3.1 on a Linux machine): Try using Tomcat 4.0.1. Cocoon 2.0.1 works with Tomcat 4.0.1 out of the box.

Re: Cocoon2 emulation of Cocoon1: How?

2002-03-25 Thread Ivan Rubin
Steve, You should take a look at the examples that come with cocoon distribution, and the sitemaps. The server pages is the XSP generator. You can generate XML from a file with a FileGenerator component, and you can aggregate content with map:aggregate. Hope it helps, Steven Pu

cocoon & Websphere 3.55

2002-03-25 Thread Souillard M Ext DvSI/SICoR
Hi to all cocoon users, I face a big problem with cocoon and Websphere 3.55 since I tried several versions of cocoon (1.7.4, 1.8.2, 2.0.1) without success. WAS 3.55 is installed on NT SP6a, with IPlanet 4 SP6. I describe the different tests I made, in this mail. Thanks in advance for any help .

Cocoon doesn't start: SAXParser not found

2002-03-25 Thread Tilman Rassy
Hi, When I try to start Cocoon 2.0.1, I get the following error (I use Tomcat 3.3a and Sun's jdk1.3.1 on a Linux machine): Cocoon 2 - Internal server error type fatal message SAX2 driver class org.apache.xerces.parsers.SAXParser n

Re: Where is tag coming from?

2002-03-25 Thread KOZLOV Roman
Take into account that for XSL transformation you always have to put something inside element because HTML will be incorrect if there will be