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

2002-03-25 Thread Falko Zurell
Hi, I try to configure an Cocoon2 the way the old Cocoon1 seems to work. I have an XML-File with the tag: ?xml-stylesheet type=text/xsl href=../xsl/docbook-xsl-1.49/html/docbook.xsl? which should tell the Cocoon where to find the XSL-File and an Tag ?cocoon-process type=xslt? to really

RE: Where is META tag coming from?

2002-03-25 Thread Piroumian, Konstantin
From: Derek Hohls [mailto:[EMAIL PROTECTED]] Konstantin Thanks - this works fine when the JavaScript is included in the XSL file - does not work when the JS is a separate, linked file, tho'. Hm... So, what's the result? If you include a file then it must become something like: script

Re: Where is META tag coming from?

2002-03-25 Thread KOZLOV Roman
Take into account that for XSL transformation you always have to put something inside script element because HTML will be incorrect if there will be script .../ tag after XSL transformation (if it is your case). Such a script tag will be treated as unclosed in HTML. So you have to put at least

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

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

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. map:match pattern=help map:generate type=serverpages src=help.xsp/ map:transform src=help.xsl/ map:seriliaze type=html/ /map:match The server pages is the XSP generator. You can

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.

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

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

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:

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

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:

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 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 Alexandre Victoor
Hi, you need to declare your parameter at the beginiing of the stylesheet : xsl:param name=yourparam/ xsl:template match=/ Then in the body of your stylesheet, $yourparam gives you the value of the parameter. Good luck Alex

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? xsp:page

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 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:

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. [cut] Several

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 an outside

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 xsl:include href=params1.xsl/ or xsl:include

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: rowset name=M row ID1/ID rowset name=F row f_namef1/f_name row ... /rowset rowset name=C row

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: ?xml-stylesheet type=text/xsl href=../xsl/docbook-xsl-1.49/html/docbook.xsl? which should tell the Cocoon where to find the

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] ;

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 Stefan Seifert
Try this: ?xml version=1.0 encoding=UTF-8? !DOCTYPE root [ !ENTITY nbsp #160; ] root ... /root 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,

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: ?xml version=1.0 encoding=UTF-8? !DOCTYPE root [ !ENTITY nbsp #160; ] root ... /root Stefan

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: esql:execute-query !-- for each rid in Collection - get the centity's -- !-- SQL Server query SELECT DISTINCT Contribute.centity_id, Contribute.role FROM

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 xsl:template ... /. Then you choose the stylesheet depending on the value of a parameter (xsl:param ... /), and call the templates with

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

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

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: 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

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: rowset name=M row ID1/ID rowset name=F row f_namef1/f_name row ... /rowset rowset name=C

Include Pipeline output in XSP.

2002-03-25 Thread [EMAIL PROTECTED]
Hi users, I need to includecocoon pipeline output intoan XSP page - has anyone done this using the pseudo protocol "xmldb:xindice:// " . XSP pageto have something like: xsl:variable name="bbb" select="cocoon://docs/file.xml)" / or include or import etc.I need to work on the

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

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

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

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

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)

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 

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 the

RE: Cocoon2: ESQL nested queries optimization

2002-03-25 Thread Faulkner, Perry
Hi Argyn, You might try: page xsp:logic String id; /xsp:logic esql:connection... esql:execute-query esql:queryselect ID from M.../esql:query esql:results esql:row-results xsp-logic id = esql:get-string column=ID/;

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 each

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:

livesites

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

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.

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

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

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

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 transformer

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 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: 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 included