This is a very good idea. I had the same need, and you have solved my
problem.
Thanks !!
Matthieu
PS : here is a Xalan/C2 bug which may be related to this problem :
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1121
Thanks for the link. Xalan/C2 doesn't seem to like xsl:output
Have a look at this tutorial :
http://tech.irt.org/articles/js128/index.htm
It's quite helpful.
Regards,
Matthieu
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 3 mai 2002 08:25
Objet : dispatch to new window in web browser possible?
People,
I would like to know why you use Cocoon?
Thank you,
Edgar
Hi,
I heard about Cocoon when I was searching a solution to a very precise
problem.
The client for whom I'm working uses lots of XML files to define the
characteristics of numerous parameters representing an engine. It
Hi Volker,
I have the following pipeline:
map:match pattern=Agg
map:aggregate element=site
map:part type=file element=part1 src=prototyp/part1.xml/
map:part type=file element=part2 src=prototyp/part2.xml/
/map:aggregate
serialize type=xml/
I'm debugging XSL templates. So, when I change the included template, but
don't change the template which includes it, then Cocoon will not
detect it,
and return me the old results.
I simply re-save the including template. Is there any other way?
I don't think so.
Matthieu
thanks,
This is not a Cocoon2 but a DHTML issue.
You have to use JavaScript.
Try this tutorial page :
http://www.pageresource.com/jscript/jforms.htm
Regards,
Matthieu
-Message d'origine-
De : Cocoon Newbie [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 17 avril 2002 22:31
Objet : Dynamic
it.
Regards,
Ed
Matthieu Benéteau wrote:
This is not a Cocoon2 but a DHTML issue.
You have to use JavaScript.
Try this tutorial page :
http://www.pageresource.com/jscript/jforms.htm
Regards,
Matthieu
-
Please check
Hi Heike,
I use these declarations in my sitemap :
map:serializer name=xmlmime-type=text/xml
logger=sitemap.serializer.xml
src=org.apache.cocoon.serialization.XMLSerializer
pool-max=32 pool-min=16 pool-grow=4
encodingiso-8859-1/encoding
I tried to use exclude-result-prefix in Cocoon to remove a
^^
namespace. It doesn't work.
Note that the namespace will only be excluded in the output. It will still
be available during the XSL transformation.
This works fine with Cocoon 2.0.2.
Is there a way to
get 'xml' serializer
At 6:18 pm +0100 26/3/02, Matthieu Benéteau wrote:
Hi,
I've just installed Cocoon 2.0.2 on Tomcat 4.0.1, and it works
perfectly :).
But I've encountered a problem using the scratchpad's
SourceWritingTransformer.
I used to use revision 1.6 of the old
Message-
From: Matthieu Benéteau [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 21. März 2002 19:10
To: Cocoon-Users
Subject: RE: XML namespaces and result of RequestGenerator
Sorry, this was a silly question, and I found the answer in the archives.
My mistake.
Matthieu
-Message
It's working ! :)
Thanks a lot.
Matthieu
-Message d'origine-
De : Jeremy Quinn [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 27 mars 2002 11:26
Objet : RE: SourceWritingTransformer : Cannot get 'xml' serializer
At 9:55 am +0100 27/3/02, Matthieu Benéteau wrote:
1
Hi,
I've just installed Cocoon 2.0.2 on Tomcat 4.0.1, and it works perfectly :).
But I've encountered a problem using the scratchpad's
SourceWritingTransformer.
I used to use revision 1.6 of the old FileWritingTransformer.
I've just changed xfwt into source and tested it, and I've received the
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
It sounds great :))
Thanks a lot for your work.
Matthieu
Will this transformer be available in the next release ?
Yes, but it will still be in the scratchpad, until I have solved the known
problems with it.
I believe more and more users will want to save information in
local files
Sorry, this was a silly question, and I found the answer in the archives.
My mistake.
Matthieu
-Message d'origine-
De : Matthieu Benéteau [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 21 mars 2002 18:46
À : Cocoon-Users
Objet : XML namespaces and result of RequestGenerator
Hi,
I
Have a look at the following transformer (by Jeremy) in the CVS repository :
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/scratchpad/src/org/apache/
cocoon/transformation/Attic/FileWritingTransformer.java
It may be very useful if you want to create or modify an existing XML file.
Matthieu
Hi,
I have a little problem with the HTMLSerializer and accented letters in
French.
I'm working with Cocoon 2.0.1.
All my XML files and stylesheets and all my components use the iso-8859-1
encoding.
In my XML file I have the following element, which has an eacute; letter in
attribute nom :
not checked if the %C3%A9 in an element's name will be
translated by
script interpreter (and I don't know exactly a kind of
interpreter you use) so
perhaps you need xsl:attribute element with CDATA section in your
XML source.
Best regards
Roman
Matthieu Benéteau wrote:
Hi,
I have
With the XML serializer, the result is just what I expected, the character
isn't replaced :
?xml version=1.0 encoding=iso-8859-1?
...
a name=puissance réelle/
table
tr
td bgcolor=#EEDDEE
b Dimension name : /b
puissance réelle
br/
b Dimension index : /b
9
Then it really sounds like HTMLSerializer problem. Could you also try to
reproduce this with simple pipeline (generator and serializer only, no
need for transformer), with simple (couple of lines should do it) XML? Then,
submit it as a bug to the BugZilla.
Thanks,
Vadim
Same result with a
Hi folks,
I'm using Cocoon-2.0.1 with Tomcat-4.0.1.
I'm working on a Cocoon-based editor that allows to edit and modify XML
files with a web browser. It uses several HTML forms.
RequestGenerator is just fine to retrieve the parameters of a GET request.
But as my application is growing, my
Hi Stefan,
We have written a custom serializer and want to specify a custom
parameter in the sitemap pipeline, not in serializer definition.
This works
map:serializers
map:serializer name=serializerxyz mime-type=... logger=...
src=...
parameter name=param1 value=xyz/
Hi Tin,
First check the XInclude namespace you're using. The correct namespace is :
xmlns:xi=http://www.w3.org/2001/XInclude;
Once you've added an xi:include element, you have to process it with
another transformer (the XIncludeTransformer) because the default
XSLTTransformer can only
24 matches
Mail list logo