You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Markus Spiekermann <Ma...@web.de> on 2000/07/02 13:42:01 UTC
Is it possible to select XML-Doc and XSL-Style within ONE form?
Hi Cocooners!
I want to to select an xml-Document at the beginning of an form and want
to choose an style-sheet at the bottom of the SAME page. I mean is it
possible to transfer several parameters at the same time?
I tried to modify the solution with the broker stylesheet and the URL
contains the selected documet and stylesheet separated by a "&" but I
still can´t get working...
Who knows help?
Markus
Re: Is it possible to select XML-Doc and XSL-Style within ONE form?
Posted by Nicola Ken Barozzi <ni...@supereva.it>.
----- Original Message -----
From: "Markus Spiekermann" <Ma...@web.de>
To: <co...@xml.apache.org>
Sent: Sunday, July 02, 2000 1:42 PM
Subject: Is it possible to select XML-Doc and XSL-Style within ONE form?
> Hi Cocooners!
>
> I want to to select an xml-Document at the beginning of an form and want
> to choose an style-sheet at the bottom of the SAME page. I mean is it
> possible to transfer several parameters at the same time?
It is possible to pass several parameters at the same time. Just look at the slide
sample in Cocoon.
> I tried to modify the solution with the broker stylesheet and the URL
> contains the selected documet and stylesheet separated by a "&" but I
> still can´t get working...
Is the broker stylesheet the one I posted or another one?
What changes did you make?
I assume that you want to specify xml and xsl and see the result.
Doing it with a form you send the request to another xml...
So you need a broker xml and the xmls and xsls requested.
In the broker xml you make an XSP page with an include tag.
Inside the include tag you put a logic tag that prints the request.getParameter("xmlfile").
In this way the requested xml gets included.
In it you do the same thing with the xsl PI.
If you need more help please post the code that you are using.
Ken