Hi all. I am trying to create a stylesheet using
cocoon and then apply this stylesheet to some input. I need to declare a root
element with different namespace declarations.
When I was using batch file instead of Cocoon, I
just wrote it as a string, e.g.:
xsl:text
in my case when i call http://...cocoon/generateXSL
where generateXSL is a pipeline that produce the xsl i want i get in my
browser the right (produced) xsl file.
but this file make to sense when i call it using cocoon:/ protocol in an
other pipeline to transform a xml file
maybe this
I asked about PHP within Cocoon and
At 23:32 22/12/02, Nicola Ken Barozzi wrote:
* Allows PHP to be used as a generator. Builds upon the PHP servlet
* functionallity - overrides the output method in order to pipe the
* results into SAX events.
Looking at the code, it takes the Request,
Stavros
What happens if you try to generate your xsl outside cocoon (using batch
file) and then just use it as a transformer in your pipeline (i.e. without
calling the cocoon:/ protocol)?
If you get the right answer there, then I think the problem is with cocoon,
but it is strange, because I don't
Fabricio Chalub [EMAIL PROTECTED] writes:
Does anybody here using Cocoon+Squid have any hints on the best configuration for
this combination?
Since (as far as I know) Cocoon 2.0.x doesn't have any way of helping proxy caches
(like Last-Modified, for instance) and the expires parameter of
i have try to ask http:///cocoon/generateXSL/
with a browser and save the output (XSL) im my disk
then i use this XSL to transform a xml file (into xmlspy)
and everything are OK.
another one test
using
map:transform src=savedXSL.xsl/
my transformation work fine (savedXSL.xsl is the file i
If you say that when you call the generateXSL pipeline and it gives you the
right xsl, it should provide the same xsl when called using the cocoon:/
protocol.
Can you write your exact pipelines and give the xsl files?
Please omit all unnecessary stuff.
Regards,
Anna
- Original Message -
Hello,
If you want XML and PHP in a Cocoon like approach, you should look at
Krysalis, a OS platform for XML content publishing.
Please see more about it at http://www.interakt.ro/products/Krysalis/
Alexandru
Hi folks,
I'm reasonably familiar with Cocoon but just learning PHP since it seems
Hello Stavros,
there is no difference between your and Anna's example. Both shell work.
If it works as you said, that you can save the XSL and use this one,
then for me it looks like a problem with serialization: Do you use any
disable-output-escaping in your stylesheet creation process?
Hello Anna,
namespace declarations are no attributes, even if they look so. And you
can't create them in this way. You can't create the important namespace
nodes, you can only copy them.
To read a much better explanation from Jeni Tennison have a look here:
-Original Message-
From: Alex McLintock [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 23, 2002 9:03 AM
To: [EMAIL PROTECTED]
Subject: RE: PHP status?
Thanks for spotting the important bits in the tutorial Geoff.
Thank google! I knew it wasn't cocoon but was curious as to where
atleast i have a simple example that works
i call an xsl through pipeline but using only generation and serialization
(i just read the .xsl using a pipeline) and use this xsl for
transformation into another pipeline using cocoon:/ protocol
i'll put this example in url tomorow
now i'm a litle
Well, after being happy with a stable installation, I just had to go for
it and install the latest stuff.
On a linux system I currently have Cocoon 2.0.4, Tomcat 4.1.18, and Java
1.4 working happily together...speed better than the Resin servlet
environment I was using...and getting it going
http://radio.weblogs.com/0108489/
You should also get on the sunbow-user mailing-list.
Matthew
--
Open Source Group Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Hi,
InCocoon documentation,
I saw that we can chose the XML transformer for Cocoon ( Xalan or SAXON etc).
With Xalan transformer I am getting problem with some Japanese characters. Those
characters are coming as "?" marks. So I want to try Cocoon with Saxon. Please
let me know the
Esql file that works in Tomcat 4.0.1 does not work in Tomcat 4.1.12?
I have compiled the nightly download 12/20/2002 and running most of the
samples on a Tomcat 4.1.12. I added the datasources for oracle and mysql
(cocoon.xconf), the jdbc drivers (in WEB-INF/lib/ and modified web.xml), I
Hi!
Try to download a newer version. I recently updated the CVS HEAD and
everythings works fine. I use Tomcat 4.1.18, Java 1.4.1_01, Red Hat Linux
8.0 and PostgreSQL.
Antonio Gallardo.
aps olute dijo:
Esql file that works in Tomcat 4.0.1 does not work in Tomcat 4.1.12?
I have compiled the
At 09:49 AM 12/21/02 -0800, you wrote:
hi, newbie here trying to run the samples from the above book on linux.
dropped the war in to tomcat 4.0.1. with jdk1.4.1 and things went downhill
fast.
finaly gave up and installed 1.3.1_03 and the tomcat off the book's cd.
(3.3.? final or something
Title: Build Fail!!! Repeat!
-Original Message-
From: Hong Gia Dinh
Sent: 20 December 2002 15:45
To: '[EMAIL PROTECTED]'
Subject: Build Fail!!!
Hi all,
I am trying to deploy my cocoon-based application in JBoss3.0.4
(i deployed the cocoon itself successfully and it
19 matches
Mail list logo