I don't know about cInclude, but maybe aggregation would meet your needs.
Did you have a look at it?
K
-Message d'origine-
De : daniel robinson [mailto:[EMAIL PROTECTED]]
Envoyé : mardi, 28. mai 2002 07:37
À : [EMAIL PROTECTED]
Objet : Real dumb question - how to concatenate XML files
From: Jim [mailto:[EMAIL PROTECTED]]
Hi,
I'm new to cocoon, and I'm having a few difficulties with actions.
I've tried writing the sample HelloWorld action, but I'm not
sure what to do
with it. I'm able to compile it, but where do I put it? I
modified the
code slightly - making it
yes, this is what was in the FAQ, but I had no idea of what the format of the
XML should be.
Hahn Kurt (CHA) wrote:
I don't know about cInclude, but maybe aggregation would meet your needs.
Did you have a look at it?
K
-Message d'origine-
De : daniel robinson [mailto:[EMAIL
Why didn't cinclude work for you? It allows you to aggregate the 3 different
XML files into one and then you can apply the stylesheet.
Matthew
--
Open Source Group Cocoon { Consulting, Training, Projects }
=
Matthew Langham,
Well, I don't know if they need to be in any special format, AFAIK a
well-formed XML is just what you need. Have a look at the sitemap of your
Cocoon installation, there's an example of how aggregation works in
practice.
-Message d'origine-
De : daniel robinson [mailto:[EMAIL PROTECTED]]
You don't know what is the format of your source XML files?
Or you don't know how to declare aggregation in sitemap?
Or something else?
If you don't know what is the content of your XML files then how would you
use an XSLT stylesheet to render them?
Konstantin
- Original Message -
Hi,
Well then I should make another list ;-)
A. Backup your cocoon + tomcat (copy it in a zip or something)
B. Shutdown tomcat
C. Delete ROOT (in webapps of tomcat)
D. rename cocoon to ROOT
E. Open your sitemap and mount the directory of the user (look in the
example sitemap how to do that)
F.
Is there a working example somewhere - I don't know why it didn't work, I used
it per the an example I found with an XML file and and XSL file and that
worked, when I tried to modify it to pull together the other XML file it
didn't work.
Matthew Langham wrote:
Why didn't cinclude work for
Hello!
i want to setup a redirect to a startpage when 2 request parameters
are not set and one request parameter is set (and of a certain
string-length). how can i use the map:select component to check for this
request parameters?
my problem is the use of map:when and map:parameter i don't
Am Montag, 27. Mai 2002 12:14 schrieben Sie:
.
yes html-mail is not a good idea - anyway an answer:
JBoss3RCx has introduced a new Classloader mechanism. This influenced loading
url protocol handler classes.
So DirContextHandler of Catalina will not be loaded and the url protocol
jndi: is
Everything you need is here:
http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html
If you still can't get your example to work then please post more specific
information on exactly what you are doing.
Matthew
--
Open Source Group Cocoon { Consulting, Training,
Hi,
I want to make a jpg from a html. Is there someone who at least converts
html to svg?
thanks,
Edgar
-
Please check that your question has not already been answered in the
FAQ before posting.
SVG I guess
Graaf, Edgar de (fin) wrote:
Hi,
I want to make a jpg from a html. Is there someone who at least converts
html to svg?
thanks,
Edgar
-
Please check that your question has not already been answered in
From: Graaf, Edgar de (fin) [EMAIL PROTECTED]
Hi,
I want to make a jpg from a html. Is there someone who at least converts
html to svg?
Are you sure that want html2jpg and not xml2jpg?
There is a sample in cocoon for performing: XML - SVG - JPG generation.
For using HTML for this you should
Hi Cocooners,
preparing for a livesite build with C2 I'm looking for tips that improve
C2's (besides external help from proxys and load balancers) performance
under high load, say 1500 - 2000 concurrent users.
Any experiences here?
Regards, Michael
Can anyone recommend a web hosting service for a
small commercial concern inthe UK wanting to use
Cocoon?
Perhaps could you find some help on this page :
http://www.cocooncenter.de/cc/documents/resources/request-params/requestselector.html
Nicolas !!
-Message d'origine-
De : Christian Joelly [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 28 mai 2002 10:18
À : Cocoon ML
Objet : [C2] Using
Hello!
On Tue, May 28, 2002 at 10:23:17AM +0200, zze-STIENNE Nicolas FTRD/DMI/CAE wrote:
Perhaps could you find some help on this page :
http://www.cocooncenter.de/cc/documents/resources/request-params/requestselector.html
nope, this page describes using requestselector in gerneral.
thx,
webappcabaret.com have some good services, I use them myself.
|+---
|| Doug Gilbert |
|| doug.gilbert@notting|
|| ham.ac.uk |
|| |
||
Tidy doesn't work when you have br, this wil not be converted to br/.
This cause an error saying br misses a closing tag
-Oorspronkelijk bericht-
Van: Konstantin Piroumian [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 28 mei 2002 10:36
Aan: [EMAIL PROTECTED]
Onderwerp: Re: html2jpg
From: Graaf, Edgar de (fin) [EMAIL PROTECTED]
Tidy doesn't work when you have br, this wil not be converted to br/.
This cause an error saying br misses a closing tag
This is either a bug in Tidy or can be configured. See the docs.
Otherwise, why to use it if you have already well-formed
I'm not familiar with the RequestSelector but an Action can do it for you.
Regards
Reinhard
-Original Message-
From: Christian Joelly [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 11:22 AM
To: [EMAIL PROTECTED]
Subject: Re: [C2] Using RequestSelector for redirect
Would it not be handy to get a image of for example www.cnn.com. I think
so... But unfortunately not everything is well formed (x)html
-Oorspronkelijk bericht-
Van: Konstantin Piroumian [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 28 mei 2002 11:44
Aan: [EMAIL PROTECTED]
Onderwerp:
Hi,
There are quite a few things you have to do to make cocoon work on bea.
1. Remove dots from jars filenames of cocoon. (lib\*.jar)
2. Remove manifest files from the above jars or i guess there is a patch
available from BEA to resolve this problem.
3. Copy cocoon webapp (not cocoon.war but
Yes my one!
Systems are located at Redbus in Docklands London!
Very good bandwidth!
Running Dell rack mounted servers.
What did you have in mind?
... give me a call is you would like a chat.
Paul
Doug Gilbert wrote:
Can anyone recommend a web hosting service for a small commercial
Hi, I have followed this thread with interest
and noted what Chris wrote.
Edgar, AFAIK this is not true. map:act can contain all other tags
that are allowed within a pipeline.
However, what about nested map:act tags.
eg.
map:match pattern=form/validation/*
map:act type=form-validator/
Hi all,
We recently put the German reference portal for The Netherlands online
(www.duitslandweb.nl, in Dutch!). This government supported website aims to help Dutch
and German students and researchers find information about both countries. It is
filled with up-to-date articles discussing
Hello!
On Tue, May 28, 2002 at 11:46:06AM +0200, Reinhard Pötz wrote:
I'm not familiar with the RequestSelector but an Action can do it for you.
im not familar with both techniques, but as i see the requestselector is
easier to handle than actions. when i use actions i have to code the
login
Nested actions work - at least for me.
Anyway, the xml snippet you send isn't valid: your second map:act is an
empty tag but several lines down you close it the second time.
Judith
-Ursprüngliche Nachricht-
Von: Peter Lerche [SMTP:[EMAIL PROTECTED]]
Gesendet am: Dienstag, 28. Mai
hi!
i use: cocoon 2.0.2 on winXP and tomcat 4.0.1
i have a stylesheet in cocoon which refers to other styleseets like --
xsl:import href=D:/Develop/Apache Tomcat
4.0/webapps/cocoon/onlinereg/elements.xsl/
now i want to run it on a server and have the problem of absolute
pathes. how do
i set
From: Graaf, Edgar de (fin) [EMAIL PROTECTED]
Would it not be handy to get a image of for example www.cnn.com. I think
so... But unfortunately not everything is well formed (x)html
Making an image from www.cnn.com will be like writing a rendering engine for
a browser. Is it worth? ;)
And
Hi,
I'm trying the sunRise stuff from the
latest2.1 code(checked out today) but i can't get it to
work.
It seems the AuthenticationManager which is defined
in authentication.xconf is not loaded.
My question is:
- Should this code be working? If yes, what did i
forget?
PS. I'm using a
-Oorspronkelijk bericht-
Van: Konstantin Piroumian [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 28 mei 2002 13:40
Aan: [EMAIL PROTECTED]
Onderwerp: Re: html2jpg
From: Graaf, Edgar de (fin) [EMAIL PROTECTED]
Would it not be handy to get a image of for example www.cnn.com. I think
Hi
Have you checked with
xsl:import href=elements.xsl/
It works. You can give relative paths.
Atul
From: Christoph Stocker [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: relative path
Date: Tue, 28 May 2002 13:39:55 +0200
hi!
i use: cocoon 2.0.2 on winXP
Hi,
what are you exactly trying? Did you build the webapp target and
try to run the sample? The CVS from today works for me that way.
Or do you try to manually get it working. In that case you have
to hand-edit your cocoon.xconf and add the AuthenticationManager
component by hand.
PS: Please
ok, thats it - thanks!
but i have the same problem with the following:
xsl:variable name=stylesheet3 select='D:/Develop/Apache Tomcat
4.0/webapps/cocoon/onlinereg/css/home.css'/
mfg,
---
Christoph Stocker
Pramergasse 29/14, 1090 Wien, Austria
mobile
Hi Chris,
The following is working for me:
xsl:include href=show_includes.xsl/
So you could try:
xsl:import href=elements.xsl/
Best regards
Roman
Christoph Stocker wrote:
hi!
i use: cocoon 2.0.2 on winXP and tomcat 4.0.1
i have a stylesheet in cocoon which refers to other styleseets
Thanks for the quick reply,
- Original Message -
From: Carsten Ziegeler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 28, 2002 2:07 PM
Subject: RE: Sunrise authentication
Hi,
what are you exactly trying? Did you build the webapp target and
try to run the sample? The
Instead of using xsl:variable/, why don't you use something like this?
link rel=stylesheet href=../css/general.css/
atul
From: Christoph Stocker [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: relative path
Date: Tue, 28 May 2002 14:05:53 +0200
ok,
i already tried this.
it doesn't work - and i don't know why??
mfg,
---
Christoph Stocker
Pramergasse 29/14, 1090 Wien, Austria
mobile +43-699-1722 5506
e-mail [EMAIL PROTECTED]
---
-Original
-Original Message-
From: Jeroen ter Voorde [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 2:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Sunrise authentication
I'm trying to adding it manually using this
http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunris
Do you have a pipeline in the sitemap.xmap for css?
If no, then you should add one.
!-- CSS, Images --
map:pipeline
map:match pattern=img/**.gif
map:read src=img/{1}.gif mime-type=image/gif/
/map:match
map:match pattern=img/**.jpg
map:read src=img/{1}.jpg
-Oorspronkelijk bericht-
Van: Graaf, Edgar de (fin)
Verzonden: dinsdag 28 mei 2002 9:28
Aan: '[EMAIL PROTECTED]'
Onderwerp: RE: Real dumb question - how to concatenate XML files
map:match pattern=document.pdf
map:aggregate element=page
map:part
JBoss3RCx has introduced a new Classloader mechanism. This influenced loading
url protocol handler classes.
So DirContextHandler of Catalina will not be loaded and the url protocol
jndi: is not working. (in fact it is more complicated...)
Its not visible in stacktrace in your mail, but it seems
Perhaps cocoon is the wrong way to do that,
but you can write a servlet that uses CONVERT to
convert from html to jpeg/png/gif or whatever.
Take a look at:
http://www.imagemagick.org/
Christoph Gaffga
[EMAIL PROTECTED]
- Original Message -
From: Graaf, Edgar de (fin) [EMAIL PROTECTED]
Chris,
Do you have a pipeline matching to css in your sitemap? It should be like
this:
map:match pattern=*.css
map:read src={1}.css mime-type=text/css/
/map:match
Roman
Christoph Stocker wrote:
i already tried this.
it doesn't work - and i don't know why??
mfg,
is anyone able to use svg2jpeg or svg2png under jdk 1.4.0 (headless)
and linux? it dont work! i tested cocoon_203_branch
and cocoon_dev_2-1 with tomcat_dev_4-1.
its important to me ... see my mail svg error for details
thx dude
-Oorspronkelijk bericht-
Van: Konstantin Piroumian [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 28 mei 2002 13:40
Aan: [EMAIL PROTECTED]
Onderwerp: Re: html2jpg
From: Graaf, Edgar de (fin) [EMAIL PROTECTED]
Would it not be handy to get a image of for example www.cnn.com. I think
Hi folks -
We announced our Cocoon training classes a couple of months ago, but I
wanted to remind all you stateside Cocooners that I'll be giving the
Cocoon Fundamentals and Advanced Cocoon classes June 11-14 in Denver,
CO. If you are interested, check out
Anyone know anything about this product for MacOSX? I have just posted a
link to an article on my weblog (http://radio.weblogs.com/0103021/). How
does it compare to Cocoon?
Well, I was going to say that if it installs and works, I'm using it.
Then I saw the price ($289 personal license) and it
Hallo,
are there any known issues using SQLTransformer?
I query a database and pass the result to a style sheet for further
processing...the rowset elements and contents are ignored.
If I save the resulting file before it is passed to the stylesheet for futher
processing and then pass the
Hi Folks,
I'd like to know how to define a
"global" parameter for all my pipeline ...
for example... the "Soap Host name" ... this
parameter has to be used by XSP and Actions.
Right now I have to define the parameter for each
map:act entry
and for each map:match.
so, maybe this is not the
I believe that there is currently no way to do this, but there happened to
be a similar proposal recently on the dev mailing list. You should be able
to find the discussion here:
http://marc.theaimsgroup.com/?t=10224924482r=1w=2
Geoff Howard
-Original Message-
From: Eduardo Godoy
Can anyone try this HOWTO and tell me if he/she gets the abnormal
behaviour described here:
http://www.mail-archive.com/cocoon-dev%40xml.apache.org/msg16998.html
I would like to know if this bug is known and has been corrected.
PS: it is something that is in the scratchpad (I think). If you
Hi,
Our problem is that we want to have our webapp directory out of
$TOMCAT_HOME/webapps/cocoon/. We want it in other volume of our Novell
Server. If your read cocoon faq's you can find documentation but How can I
specify the path ??
Code to Add in Cocoon sitemap.xmap:
map:pipeline
map:match
Hi Luca,
last time you really helped me out from the following problem.Thanks for
that.
This time I want to use a function in XSL such that it takes two parameters-
string and length.
such as
showName(String name, int length)
here I want to show name upto 5 character length, if name length is
Where can I find docs for using cocoon in command line mode?
Thanks,
Mike Aracic
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html
To unsubscribe,
xsl:choose
xsl:when test=string-length(name) gt; 5
xsl:value-of select=substring(name, 1, 5)/...
/xsl:when
xsl:otherwise
xsl:value-of select=name/
/xsl:otherwise
/xsl:choose
yours
Christoph Gaffga
[EMAIL PROTECTED]
- Original Message -
From: Niket Anand [EMAIL
Hi! When I need to get some file by browser (in Windows) i need to use this
convention:
file:///c|/dir/file.ext
pipe is substitute of : - maybe it is it?
file:///vol3|/dir/file.ext
Just try.
Regards
Jerzy Kut
- Original Message -
From: Tom Klaasen [EMAIL PROTECTED]
To: [EMAIL
Don't know if it will work (are there still many novell servers out
there?), but I thought you have to specify 3 slashes for the file protocol:
file:///vol3:/apps/myapp
No guarantees though
tomK
Jordi Guijarro wrote:
Hi,
Our problem is that we want to have our webapp directory out of
-Original Message-
From: Christian Joelly [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 12:58 PM
To: [EMAIL PROTECTED]
Subject: Re: [C2] Using RequestSelector for redirect
Hello!
On Tue, May 28, 2002 at 11:46:06AM +0200, Reinhard Pötz wrote:
I'm not
Title: Include external javascript file
A cocoon newbie question:
I am trying to include a javascript function from an external .js file into my xsl stylesheet.
I have the following in the xsl stylesheet:
head
...
script src="cold_reverse_script.js" language=javascript /script
/head
You must add a pipeline for every filetype you wish to call in your
application.
Put your *.js files in the js directory and add the following to your
pipelines
map:match pattern=*.js
map:read src=js/{1}.js mime-type=text/javascript/
/map:match
Now you can call any
Graaf, Edgar de (fin) wrote:
Hi,
I want to make a jpg from a html. Is there someone who at least converts
html to svg?
Search for one of the HTML-XSLFO converters (AntennaHouse
is often mentioned) and generate a FO file, then use FOP's
SVG renderer to create a SVG, then render it with
Christoph Stocker wrote:
xsl:variable name=stylesheet3 select='D:/Develop/Apache Tomcat
4.0/webapps/cocoon/onlinereg/css/home.css'/
Try select='file:///D:/Develop/Apache Tomcat 4.0/we...'/
J.Pietschmann
-
Please check that
Mike:
Where can I find docs for using cocoon in command line mode?
Unfortunately, there are no docs for this *yet*. However, check out the
run scripts (in xml-cocoon2). Depending on your version of Cocoon (and
platform of course) you may need to edit run.sh to reflect the directory
From: Gerhard Hipfinger [mailto:[EMAIL PROTECTED]]
Hi!
I know this question was asked a month ago, but the thread ended
without
a real solution to the problem.
The problem in short:
Form data with special chars (i. e. german umlauts) is not encoded
correctly in the
Hallo,
I'm wondering if there is any way to know if a context in the session
has been created or not?
When I try to access a context that has not been created yet, like using
session:getxml, I get an error from the session transformer, so I
must know first if the context is there or not.
I've tried the following:
Tomcat 4.0.1 w/ cocoon 2.0
Tomcat 4.0.1 w/ cocoon 2.0.2
Tomcat 4.0.4b1 w/ cocoon 2.0
Jetty 4 w/ cocoon 2.0
Tomcat 4.0.4b1 w/ cocoon 1.8
Each time the servlet container works fine, cocoon does not. The only
luck I've had is with Murray Todd's old pkg file which is no
Hello all,
I am trying to move cocoon to use Java 1.4 and I am having problems.
I have tried the advice on the cocoon site about moving the updated xalan
and xerces jar files and rebuilding the cocoon under java 1.4 then running
it but it still doesnt work.
Has anyone else had problems trying
You can do the following
Encompass the pipeline with an action say
map:pipeline
!-- Specific XSP generation pipeline --
map:act type =parametersSet
map:parameter name=global-context-root
value=/accordianew /
I've tried the following:
Tomcat 4.0.1 w/ cocoon 2.0
Tomcat 4.0.1 w/ cocoon 2.0.2
Tomcat 4.0.4b1 w/ cocoon 2.0
Jetty 4 w/ cocoon 2.0
Tomcat 4.0.4b1 w/ cocoon 1.8
Um, you might try Tomcat 4.0.4b1 with Cocoon 2.0.2
We run it on Win 2K with the 1.4 JDK...
Hi there,
After an action is executed in a pipeline, a map
object is returned. Now my question comes -- how could
I possibly obtain this map object in xsp?
any response appreciated. :)
KC
__
Do You Yahoo!?
Yahoo! - Official partner of 2002
From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
Hi Cocooners,
preparing for a livesite build with C2 I'm looking for tips that
improve
C2's (besides external help from proxys and load balancers)
performance
under high load, say 1500 - 2000 concurrent users.
That's not enough
Did you get this to work? I don't know much about htc's except that I have
used the MS sample calendar.htc. I can't figure out how to set the rule for
it with Cocoon.
How did you do it? I tried:
map:match pattern=calendar.htc
map:generate
From: Dude [mailto:[EMAIL PROTECTED]]
is anyone able to use svg2jpeg or svg2png under jdk 1.4.0 (headless)
and linux? it dont work! i tested cocoon_203_branch
and cocoon_dev_2-1 with tomcat_dev_4-1.
It was working with tomcat 4.0.4b1
http://xml.apache.org/cocoon/installing/index.html:
I have been poking around trying to find out whether
DatabaseSelectAction can help me.
There is very little written about this action and I wonder whether it
has ever been used (or even tested).
My problem is as follows:
I have a column in a table in a database that I am able to access from
FYI, the great guys at Q42 have written a clone of IE's contentEditable
for Mozilla.
Check it out at http://xopus.org/index.jsp?menu=mozce : although still
rudimentary, it shows a lot of potential.
Sylvain
--
Sylvain Wallez
Anyware Technologies Apache Cocoon
is anyone able to use svg2jpeg or svg2png under jdk 1.4.0 (headless)
and linux? it dont work! i tested cocoon_203_branch
and cocoon_dev_2-1 with tomcat_dev_4-1.
its important to me ... see my mail svg error for details
thx dude
--
GMX - Die Kommunikationsplattform im Internet.
Anyone know anything about this product for MacOSX? I have just posted a
link to an article on my weblog (http://radio.weblogs.com/0103021/). How
does it compare to Cocoon?
Matthew
--
Open Source Group Cocoon { Consulting, Training, Projects }
Folks,
The XSLTC group is at a hold again.
Anyone interested to work with Tom to resolve the issues?
I am sorry if I sound pushy, especially when I am not helping myself.
My focus is currently in another area of Cocoon, as some of you know.
Recently there have been a number of people asking
Use a reader
If you use map:match, it will use the XML generator, implying that your
source calendar,htc, should be xml
map:read.
Regds,
Chiths
-Original Message-
From: Kelly Cole [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 4:20 PM
To: '[EMAIL PROTECTED]'
Subject: RE:
Hi there,
After an action is executed in a pipeline, a map
object is returned. Now my question comes -- how could
I possibly obtain this map object in xsp?
any response appreciated. :)
KC
__
Do You Yahoo!?
Yahoo! - Official partner of 2002
From: Kenny Chow [mailto:[EMAIL PROTECTED]]
Hi there,
After an action is executed in a pipeline, a map
object is returned. Now my question comes -- how could
I possibly obtain this map object in xsp?
any response appreciated. :)
Here is the response:
It is not possible.
Use
Is there a build target with no samples, javadoc etc included?
We have been building cocoon, manually stripping out everything we don't
want out on our live site, then moving in our own sitemap and xconf files,
with all supporting files. This is fine if you never update your cocoon
version,
Hello,
I am trying to redirect the user to some url in act function, it
execute the related xsp page, but don't display any thing on browser.
your help will be highly appriciatable
Thanks and regards,
Manish Jain
The code is like...
if
Check out:
http://sourceforge.net/projects/chello/
a hello world app, minimal configuration, comes with lots of goodies - ant,
cruisecontrol etc. I have been using it for a couple of days, really very
helpful.
Dan
Geoff Howard wrote:
Is there a build target with no samples, javadoc etc
Hi,
there is no functionality to get the list of available session contexts.
The current philosophie is that you as the developer have to know
them, because you have to explicitly create a session context with
sesssion:createcontext name=xyz/.
But if you need this functionality, send a patch ;)
88 matches
Mail list logo