[EMAIL PROTECTED] wrote: >Hello! > >In my xsp-page the following statemet works correctly: > > <cinclude:include src="cocoon:/SimpleTable.htm" element="xxx"/> > >However I'm required to assign the value of src dynamically. > >Initially I tried this statement which did not work: > ><cinclude:include >src="<xsp:expr>(String)((java.util.Map)request.getAttribute("restructComps")).get("uiSimple")" > element="xxx"/> > > >Later I tried the following: > > <cinclude:include> > <xsl:attribute >name="src"><xsp:expr>(String)((java.util.Map)request.getAttribute("restructComps")).get("uiSimple")</xsp:expr></xsl:attribute> > <xsl:attribute name="element">xxx</xsl:attribute> > </cinclude:include> > >.. which did not work. > Try <xsp:attribute> instead of <xsl:attribute> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>