cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Heid <h...@fh-heilbronn.de>
Subject AW: Adding dynamically element
Date Mon, 11 Jun 2001 09:57:13 GMT
Thanks for answer.

But there's a problem:

'Giacomo' wrote: "An XSP page is a generator, point.". As I have to use a
xml page I would have to write a XSP which reads (from FileReader) the
xml... I think that's not the best way as the pipeline should do this for
me. So I wrote a transformer which works well, but I do not know hoe to get
the HTTPServletRequest (written in another mail).

Am I right? In C1 you could use XSP as a transformer and I'm looking fo
something similar...

JOERN_HEID

-----Urspr√ľngliche Nachricht-----
Von: Martin Man [mailto:martin@funny.localnet]Im Auftrag von Martin Man
Gesendet: Montag, 11. Juni 2001 11:37
An: Jorn Heid
Cc: cocoon-users@xml.apache.org
Betreff: Re: Adding dynamically element


On Sun, Jun 10, 2001 at 04:53:37PM +0200, Jorn Heid wrote:
> Yes... As XSP is a generator, should I write my own transformer or
> aggregator... Give me an answer, please... ;(
>
> The question again:
> I want to produce a html from a xml (not XSP) page but depending on the
> session object there moght be an additional element. In C1 it worked with
> XML->XSP->XSLT->HTML. But how does it (best) work with C2?
> XML->Aggreation->XSLT->HTML or XML->MyTransformer->XSLT->HTML?
>
in c2 you do it best using XSP, handling session, and xincluding (look at
aggregate.xsp sample) static xml content



rgds,
martin

--
----------------------------------------------------------------------------
---
"Only dead fish swims with a stream"
gpg_key_available: http://globales.cz/~mman/martin.man.gpg
gpg_key_fingerprint: 2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message