> From: Michael Wechner [mailto:[EMAIL PROTECTED]]
> 
> Hi
> 
> Does anybody know if the XInclude Transformer is actually resolving
the
> "xi:include" recursively?

No.

> I tried something like that:
> 
> department.xml:
>   xi:include href="group.xml"
> 
> group.xml:
>   xi:include href="member.xml"
> 
> member.xml:
>   Michael
> 
> and got the following result:
> 
> department.xml:
>    xi:include href="member.xml"
> 
> group.xml:
>   Michael
> 
> Thanks for your help

You have to use something like:

department.xml:
  xi:include href="cocoon:/group.xml"
group.xml:
  xi:include href="cocoon:/member.xml"
member.xml:
  Michael

with the sitemap like:

<map:match pattern="*.xml">
<map:generate ...>
<map:transform type="xinclude"/>
<serialize type="xml"/>
</map:match>

Vadim


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to