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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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... > > >>> [EMAIL PROTECTED] 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>