Re: Poor performance of document() in XSL [Was: Re: simpel cocoon question]

2002-11-08 Thread Jeremy Quinn
On Thursday, Nov 7, 2002, at 16:19 Europe/London, Joerg Heinicke wrote: normally this won't work. You create a Result Tree Fragment in $colours and have to convert it to a node set using node-set() extension function. This is not possible when using XSLTC. Sorry for the red-herring! I did

Re: simpel cocoon question

2002-11-07 Thread SAXESS - Hussayn Dabbous
05, 2002 2:27 PM Subject: simpel cocoon question Just started using Cocoon and I have a rather simple question: Lets say i have a document with all my data (projects.xml) projects project id=A1 name RailwayTrack DF/name responsible kni /responsible economy_actual123

Re: simpel cocoon question

2002-11-07 Thread Joerg Heinicke
PROTECTED] Sent: Tuesday, November 05, 2002 2:27 PM Subject: simpel cocoon question Just started using Cocoon and I have a rather simple question: Lets say i have a document with all my data (projects.xml) projects project id=A1 name RailwayTrack DF/name responsible kni

Re: simpel cocoon question

2002-11-07 Thread SAXESS - Hussayn Dabbous
Hello, Joerg; thank you very much for the info. The other solution is indeed much nicer, and much easier to understand than mine ;-) regards, hussayn Joerg Heinicke wrote: Hello Hussayn, the question was also on the XSL list yesterday and there is a simpler solution:

Re: Poor performance of document() in XSL [Was: Re: simpel cocoon question]

2002-11-07 Thread Jeremy Quinn
On Wednesday, Nov 6, 2002, at 21:26 Europe/London, Stephen Ng wrote: I say, document() is good for rapid prototyping, but is a poor choice for final deployment for performance reasons. Use aggregation instead. The Cocoon developers recommend to use aggregation or xinclude because of SoC (XSLT

RE: Poor performance of document() in XSL [Was: Re: simpel cocoon question]

2002-11-06 Thread Stephen Ng
I say, document() is good for rapid prototyping, but is a poor choice for final deployment for performance reasons. Use aggregation instead. The Cocoon developers recommend to use aggregation or xinclude because of SoC (XSLT is for transforming, not for aggregating content). Sure,

Re: simpel cocoon question

2002-11-06 Thread Kasper Nielsen
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 2:27 PM Subject: simpel cocoon question Just started using Cocoon and I have a rather simple question: Lets say i have a document with all my data (projects.xml) projects project id=A1 name RailwayTrack DF/name

simpel cocoon question

2002-11-05 Thread Kasper Nielsen
Just started using Cocoon and I have a rather simple question: Lets say i have a document with all my data (projects.xml) projects project id=A1 name RailwayTrack DF/name responsible kni /responsible economy_actual123/economy_actual

RE: simpel cocoon question

2002-11-05 Thread robert_hitchins
Message- From: [EMAIL PROTECTED] [mailto:news;kav.dk] Sent: Tuesday, November 05, 2002 8:27 AM To: [EMAIL PROTECTED] Subject: simpel cocoon question Just started using Cocoon and I have a rather simple question: Lets say i have a document with all my data (projects.xml) projects project

Re: simpel cocoon question

2002-11-05 Thread Marcus Crafter
Hi Kasper, You wouldn't need to write a custom transformer for this. One solution would be to use aggregation to aggregate both files together. Then using xsl you can extract the necessary data for output. Hope that helps. Cheers,

Re: simpel cocoon question

2002-11-05 Thread SAXESS - Hussayn Dabbous
Hy; I'm also new to cocoon, but i think, your problem can be solved directly using the sitemap capabilities by merging the two xml files with aggregation then applying a stylesheet on the merged data... But you also could do it directly within the xslt context: You can use the document()

Re: simpel cocoon question (typo-correction)

2002-11-05 Thread SAXESS - Hussayn Dabbous
Hy again; Sorry, there was a typo in my example. Of course it must be: 1.) From within the cocoon sitemap you would create something like this within a pipeline: map:match pattern=projects.xml map:generate src=/projects.xml/ map:transform type=xslt src=mytransformer.xsl map:parameter

Poor performance of document() in XSL [Was: Re: simpel cocoon question]

2002-11-05 Thread Ilya A. Kriveshko
SAXESS - Hussayn Dabbous wrote: snip/ But you also could do it directly within the xslt context: You can use the document() function in your XSLT-file. This function allows you to refer to data contained within another XML-file. This is completely decoupled from cocoon though. It's more about

RE: Poor performance of document() in XSL [Was: Re: simpel cocoon question]

2002-11-05 Thread Leigh Dodds
#setURIResolver(javax.xml. transform.URIResolver) -Original Message- From: Ilya A. Kriveshko [mailto:ilya;kaon.com] Sent: 05 November 2002 14:33 To: [EMAIL PROTECTED] Subject: Poor performance of document() in XSL [Was: Re: simpel cocoon question] SAXESS - Hussayn Dabbous wrote: snip

Cocoon question once again

2002-05-19 Thread Stephen Smithstone
Is it possible to create a webapp out side the cocoon dir structure that uses the cocoon engine ?? - Please check that your question has not already been answered in the FAQ before posting.

Re: Cocoon question once again

2002-05-19 Thread Kenny Chow
Go to http://xml.apache.org/cocoon/faq.html and look for How could I have my Cocoon app in a directory other than $TOMCAT_HOME/webapps/ cocoon/my-app? --- Stephen Smithstone [EMAIL PROTECTED] wrote: Is it possible to create a webapp out side the cocoon dir structure that uses the cocoon

cocoon question again follow-up

2002-05-19 Thread Stephen Smithstone
So ive come to the conculsion that all cocoon apps have to be under the cocoon dir and then u use redirect in the site map is that correct ? - Please check that your question has not already been answered in the FAQ before

My First Cocoon Question!!

2002-04-12 Thread Muhammad Irfan
Dear Cocooners, Hi, I want to use cocoon to query MS Access database and want to get the query results in xml as output. I have setup the database driver in web.xml init-param and have made all satisfactory changes. The only decision problem i am facing is that should i write xsl file

cocoon question

2001-12-24 Thread TJ Smith
Hello First, the background: Tomcat 3.3, Cocoon 1.8.2, Apache 1.3.22 I've encoundered an odd situation. I want to create a subproject under cocoon, call it 'foo', such that I can retrieve documents via a url like http://blah.blah.blah/cocoon/foo/foo.xml I created a context for 'foo' in

Re: cocoon question

2001-12-24 Thread David Rosenstrauch
Maybe you need a sub-sitemap for the stuff in the sub-directory. Take a look at the example included with Cocoon that demonstrates mounting a sub-sitemap. DR At 09:21 AM 12/24/01 -0500, you wrote: Hello First, the background: Tomcat 3.3, Cocoon 1.8.2, Apache 1.3.22 I've encoundered an odd

Re: cocoon question

2001-12-24 Thread Diana Shannon
TJ, I'm confused by your email. You first state that you want to retrieve documents via a url like http://blah.blah.blah/cocoon/foo/foo.xml But at the end of your email, after all your configuration efforts, you try to access the document via a __different__ URL: Trying to get foo.xml via

Re: cocoon question

2001-12-24 Thread Bertrand Delacretaz
On Monday 24 December 2001 15:21, TJ Smith wrote: I want to create a subproject under cocoon, call it 'foo', such that I can retrieve documents via a url like http://blah.blah.blah/cocoon/foo/foo.xml The 2.0 release of Cocoon includes the so-called automount setup in the main sitemap.xmap.

Re: cocoon question

2001-12-24 Thread TJ Smith
- From: Diana Shannon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 24, 2001 12:33 PM Subject: Re: cocoon question TJ, I'm confused by your email. You first state that you want to retrieve documents via a url like http://blah.blah.blah/cocoon/foo/foo.xml But at the end