On Tue, 29 May 2001, JEULIN Olivier wrote:

> Hello,
> I'm trying to use a custom taglib to include (parts of) xml files.
> My goal is to achieve a complete separation between xml sources, xsp which
> merge them, and further XSLT/XSL processing. I would also like to have all
> "cocoon-process" instructions grouped in the xsp file.
>
> If I uncomment my tag "toto:title" and the call to xsp and its stylesheet,
> xinclude instructions work fine.
> But, if I put them back, xinclude instuctions are left as is (but Xinclude
> seems to be call, as it inserts a comment: "processed by XInclude" !?). (see
> attached html files)
>
> I have tried to insert <?cocoon-process type="xinclude"?> dynamicaly in the
> xsp:page template: it doesn't work either.
>
> What's the correct way to do it ?

change the element name from 'foo' to 'include'. there's a bug in the way
xsp creates attributes with namespaces, and the clever workaround looks
for an element named 'include' with attributes named 'xinclude:href', etc.

- donald


---------------------------------------------------------------------
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