You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Morrison, John" <Jo...@uk.experian.com> on 2000/12/04 15:14:48 UTC

[C2] xinclude

Hi,

I'm attempting to move some xml/xsl I developed under C1 to C2.  Do I need
to do anything in the sitemap to get the xinclude's to work?

Thanks,

John.


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

Re: [C2] xinclude

Posted by Paul Russell <pa...@luminas.co.uk>.
On Mon, Dec 04, 2000 at 02:14:48PM -0000, Morrison, John wrote:
> Hi,
> 
> I'm attempting to move some xml/xsl I developed under C1 to C2.  Do I need
> to do anything in the sitemap to get the xinclude's to work?

Yep. Add an extra translate phase to the pipeline you're using.

<map:match ...>
<map:generate .../>
<map:translate type="xinclude"/>
<map:translate .../>
<map:serialize/>
</map:match>

HTH,

P.

-- 
Paul Russell                               <pa...@luminas.co.uk>
Technical Director,                   http://www.luminas.co.uk
Luminas Ltd.