cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <>
Subject RE: xinclude sitemap
Date Fri, 08 Dec 2000 08:33:32 GMT
I just (yesterday) had the same problem.  If you're moving xml over from C1
to C2 you have to revert back to the old spec of defining xincludes...

instead of:

<mytag xinclude:parse="xml" xinclude:href="xxx"/>

you need:

<xinclude:include parse="xml" href="xxx"/>

I've looked at the xinclude transformer, but I'm (very) new to SAX
programming and was unable to fix it.  If you would like to bring it back in
line with the spec I'm sure lots of people would love you for it!


> -----Original Message-----
> From: Torsten Curdt []
> Sent: 07 December 2000 8:32 pm
> To: Cocoon-Dev
> Subject: xinclude sitemap
> I don't get the xinclude transformer to work.
> Something wrong with my sitemap?
> <map:match pattern="test">
>   <map:generate type="serverpages" src="test/test.xml"/>
>   <map:transform type="xinclude"/>
>   <map:transform src="test/html.xsl"/>
>   <map:serialize/>
> </map:match>
> --
> Torsten

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

View raw message