Yves Vindevogel wrote:

Hi,

Is there a way to use an Include file in my cocoon.xconf ?
I want to split my datasources into a seperate file and include it.

Kind of the way Apache2 works ( Include /thisfile/ )

The xml "include" of entities should work for files, too!

Example (not tested!):

<?xml version="1.0">
<!DOCTYPE cocoon [
  <!ENTITY myInclude SYSTEM "path/to/your/file.xml">
]>
<cocoon>
...
&myInclude;
...
</cocoon>

Of course a build-in mechanism in cocoon would be better! But I dont't know whether such a mechanism already exists.

Regards
Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to