cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Sparkes <>
Subject Dynamic generation of parameter values from an xml file
Date Thu, 07 Apr 2005 12:29:14 GMT

I can set the parameter "Address" to the value of the element 
"lodge/owner" in the file test.xml with the following in my sitemap:

<map:match pattern="enquiry$*">
      <map:call function="handleForm">
             <map:parameter name="function" value="bookingbean"/>
              <map:parameter name="form-definition" 
              <map:parameter name="bindingURI" 
              <map:parameter name="Address" value="{lodge:/lodge/owner}"/>

and the following in my cocoon.xconf file:

logger="core.modules.xml" name="lodge">
            <file src="context://test.xml"/>

However, what I want to do is Dynamically change the file from which I 
extract the value of lodge/owner, ie effectively dynamically change the 
src value in the XMLFileModule. Is this possible?


Peter Sparkes

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message