You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Robert Sösemann <ro...@web.de> on 2002/11/26 15:15:30 UTC

parameters in xsp

 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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>