[Yanel-dev] xinclude
Michael Wechner
michael.wechner at wyona.com
Fri Dec 23 05:58:16 CET 2011
Am 22.12.11 16:49, schrieb basZero:
> dear all,
>
> I have a general question:
>
> usually the menu gets included via xinclude from the global XSL:
>
> e.g.:
>
> <xi:include href="yanelresource:/de/header.yanel?path={$yanel.path}"/>
>
>
> it seems that the resource serving the content for that included
> content must deliver content in mime type "application/xhtml+xml".
> when changing it into "text/html" it throws many exceptions in the log.
yes, because it's not considered to be well-formed
>
> does anybody have used includes with "text/html" content?
why do you want to include something inside XML/XHTML, which might not
be XML/XHTML?
Or otherwise you might want to consider to use CDATA, but I guess then
you would have to use something
different than xi:include, because I would assume that XInclude would
always require some well-formed XML/XHTML per definition.
HTH
Michael
>
> Thanks
> cheers
> Balz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20111223/f12674b4/attachment.html>
More information about the Yanel-development
mailing list