You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Roman <ra...@tenbit.pl> on 2001/02/12 14:18:42 UTC

get-xml and postprocessing?

hello!

I have a silly question: "how get-xml really works?".

The reason for this questions is that I've just encountered
a problem I can't resolve.

I get xml page from database via esql:get-xml tag. This page
contains a tag from my taglib - I need some part of it to be
dynamically generated. But after the get-xml works nothing
else is processed... I've included cocoon-process in both
the page in DB and the one which extracts it with no
success. The tag just doesn't seem to be evaluated.

Anyone have an idea?

roman.
------------------------------------
Wez udzial w konkursie GPL w Tenbicie. Zostan mistrzem kierownicy.

Re: get-xml and postprocessing?

Posted by Roman Zamorski <ra...@tenbit.pl>.
ok, thanks for fast answer.


----- Original Message -----
From: "Martin Man" <Ma...@seznam.cz>
To: <co...@xml.apache.org>
Sent: Monday, February 12, 2001 2:35 PM
Subject: Re: get-xml and postprocessing?


> On Mon, Feb 12, 2001 at 02:18:42PM +0100, Roman wrote:
> > hello!
> >
> > I have a silly question: "how get-xml really works?".
> >
> > The reason for this questions is that I've just encountered
> > a problem I can't resolve.
> >
> > I get xml page from database via esql:get-xml tag. This page
> > contains a tag from my taglib - I need some part of it to be
> > dynamically generated. But after the get-xml works nothing
> > else is processed... I've included cocoon-process in both
> > the page in DB and the one which extracts it with no
> > success. The tag just doesn't seem to be evaluated.
>
> the advice is to look at the source code generated from XSP somewhere in
> $TOMCAT_HOME/work/
>
> regarding to your question: your ideas and thoughts are completely
wrong...
>
> consider XSP as a generator, that generates xml markup on its output, this
> markup can be then processed by stylesheets transformations but not by
> tag-libraries, !!!!
>
> because tag-libraries are applied at the time when java code is
> being generated from XSP source,
>
> e.g, your markup from database is known at the time of generator's
execution
>
> and tag-ibraries are applied at the time of generator's generation from
XSP
> sources
>
>
> hope it's clear now, :-))
>
> >
> > Anyone have an idea?
> >
> > roman.
> > ------------------------------------
> > Wez udzial w konkursie GPL w Tenbicie. Zostan mistrzem kierownicy.
> >
> > ---------------------------------------------------------------------
> > 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: <co...@xml.apache.org>
> > For additional commands, e-mail: <co...@xml.apache.org>
> >
> >
>
> --
> --------------------------------------------------------------------------
-----
> "Only dead fish swims with a stream"
> gpg_key_fingerprint: 2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223
> home_page: http://home.zcu.cz/~mman
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>


Re: get-xml and postprocessing?

Posted by Martin Man <Ma...@seznam.cz>.
On Mon, Feb 12, 2001 at 02:18:42PM +0100, Roman wrote:
> hello!
> 
> I have a silly question: "how get-xml really works?".
> 
> The reason for this questions is that I've just encountered
> a problem I can't resolve.
> 
> I get xml page from database via esql:get-xml tag. This page
> contains a tag from my taglib - I need some part of it to be
> dynamically generated. But after the get-xml works nothing
> else is processed... I've included cocoon-process in both
> the page in DB and the one which extracts it with no
> success. The tag just doesn't seem to be evaluated.

the advice is to look at the source code generated from XSP somewhere in
$TOMCAT_HOME/work/

regarding to your question: your ideas and thoughts are completely wrong...

consider XSP as a generator, that generates xml markup on its output, this
markup can be then processed by stylesheets transformations but not by
tag-libraries, !!!!

because tag-libraries are applied at the time when java code is
being generated from XSP source, 

e.g, your markup from database is known at the time of generator's execution

and tag-ibraries are applied at the time of generator's generation from XSP
sources


hope it's clear now, :-))

> 
> Anyone have an idea?
> 
> roman.
> ------------------------------------
> Wez udzial w konkursie GPL w Tenbicie. Zostan mistrzem kierownicy.
> 
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
> 
> 

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