cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Want to include external xml content files.
Date Thu, 05 Apr 2001 18:08:45 GMT

XInclude is implemented as a processor.  Try adding this line to your XML
file (e.g., above the xslt processing instruction):
<?cocoon-process type="xinclude"?>

Also, I think I had to use the xinclude namespace on the attributes to make it work, like
<xinclude:include xinclude:parse="xml" xinclude:href="...."/>


I was trying something like this:

<paragraph xmlns:xinclude="">
         <xinclude:include href="hello-disclaimer.xml"/>

But nothing happend :(
Does cocoon recognize the "" namespace?

Thank you for your help!!!

Oskar Werewka

Please check that your question has not already been answered in the
FAQ before posting. <>

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

View raw message