You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lionel Crine <cr...@4dconcept.fr> on 2003/04/04 16:19:18 UTC

XMLMetaModule

Hello,

I'd like to load a module (another xml file) into my cocoon.xconf but I do 
not have the XMLMetaModule (I use cocoon 2.0.4).

this component is not working :
  <component-instance 
class="org.apache.cocoon.components.modules.input.XMLFileModule" 
logger="core.modules.xml" name="RLR-conf">
	    <file src="file:///{TOMCAT_HOME}/webapps/cocoon-dev/WEB-INF/RLR.xconf"/>
   </component-instance>


So can I put directly the values from RLR.xconf in the cocoon.xconf and how.

Lionel


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: XMLMetaModule

Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 04.Apr.2003 -- 04:19 PM, Lionel Crine wrote:
> Hello,
> 
> I'd like to load a module (another xml file) into my cocoon.xconf but I do 
> not have the XMLMetaModule (I use cocoon 2.0.4).
> 
> this component is not working :
>  <component-instance 
> class="org.apache.cocoon.components.modules.input.XMLFileModule" 
> logger="core.modules.xml" name="RLR-conf">
> 	    <file 
> 	    src="file:///{TOMCAT_HOME}/webapps/cocoon-dev/WEB-INF/RLR.xconf"/>
>   </component-instance>
> 
> 
> So can I put directly the values from RLR.xconf in the cocoon.xconf and how.

Use the DefaultsMetaModule. Only key-value-pairs are allowed, though.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org