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
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
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
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:
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
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,
[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
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
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
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,
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()
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
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
#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
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.
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
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
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
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
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
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
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.
-
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
23 matches
Mail list logo