cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Calvin K. Chan" <>
Subject Dynamic Xincludes
Date Fri, 04 Aug 2000 14:54:12 GMT
Hi Everybody,

Does anybody know how to implement or use dyanmic xincludes???  I need
to be able to call different "sub-xml/xsl" pages depending on what is
passed into the page.

Here is a code fragment of what I have so far:
<include xinclude:parse="xml" xinclude:href="a_directory/my_xml.xml"/>

So I obtain the parameter by request.getParameter("param"), and I need
to change the xinclude:href to interpret the parameter.  So ideally, it
would become:
<include xinclude:parse="xml"
but that is obviously not allowed by Cocoon.

Any solutions???  Thanks!


View raw message