> From: Michael Zehrer [mailto:[EMAIL PROTECTED]] > > Hi again, > > In earlier (2.0.2) versions of Cocoon I constructed the path for > cinclude like this and it worked: > > <cinclude:include> > <xsp:attribute name="src">some/static/xml/<xsp-session:get-attribute > name="parm2"/>/<xsp-session:get-attribute > name="parm2"/>/content.xinc</xsp:attribute> > </cinclude:include> > > in 2.1-dev this gives
Cocoon 2.1-dev doesn't give anything right now (xerces/xalan issues). However, after replacing xalan/xerces/xml-apis with version from 2.0.3, the following works ok: <xsp-session:set-attribute name="parm1">111</xsp-session:set-attribute> <xsp-session:set-attribute name="parm2">222</xsp-session:set-attribute> <textarea cols="80" rows="7"> <cinclude:include> <xsp:attribute name="src">some/static/xml/<xsp-session:get-attribute name="parm1"/>/<xsp-session:get-attribute name="parm2"/>/content.xinc</xsp:attribute> </cinclude:include> </textarea> (it also works in 2.0.4-dev) Vadim > <cinclude:include src="pkw/stylesheets/dict/parm1parm2" /> > > in the resulting xml where the values for parm1 and parm2 are correct > but the extra slash betwen them and the filename are completly ignored? > > Michael --------------------------------------------------------------------- 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]>