cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Sösemann <robert.soesem...@gmx.de>
Subject Re: parameters in xsp don't work
Date Tue, 26 Nov 2002 15:46:14 GMT
Sorry, but that is not the kind of helpful information I am used in this
list. Yes you're right. Mostly any information can be obtained by reading
docs. And yes I know that XSp is not XSL. And yes I searched for examples.
without any succes.

So I will redefine my question. How can I use values obtained by a db query
in my esql in the cinclude statement?

Rob
----- Original Message -----
From: "Derek Hohls" <DHohls@csir.co.za>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, November 26, 2002 3:23 PM
Subject: Re: parameters in xsp don't work


> In short; the syntax inside XSP and XSL is quite different;
> suggest you look at the docs and the Cocoon samples to
> get up-to-speed on how XSP works...
>
> >>> robert.soesemann@gmx.de 26/11/2002 04:16:20 >>>
> I must create an dynamic variable based (from db content) cinclude
> path.
> But this doens't work. Do you know why?
> ...
> <esql:results>
> <esql:row-results>
>      <xsl:variable name="id"><esql:get-string
> column="i.id"/></xsl:variable>
>     <xsl:variable name="stylesheet-path"><esql:get-string
> column="t.stylesheet"/></xsl:variable>
>     <cinclude:include
> src="cocoon://rauser-cocoon/abstract_{$id}_styleWith_{$stylesheet-path}"/>
> </esql:row-results>
> </esql:results>
> ....
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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