<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Am 22.12.11 16:49, schrieb basZero:
<blockquote
cite="mid:CAOXzDSG6467UMEeY+qT02EPGsPfgTb0sr3vz2LWsOFDC4JxorA@mail.gmail.com"
type="cite">dear all,
<div><br>
</div>
<div>I have a general question:</div>
<div><br>
</div>
<div>usually the menu gets included via xinclude from the global
XSL:</div>
<div><br>
</div>
<div>e.g.:</div>
<div>
<p class="p1"><span class="s1"> </span><span class="s2"><</span><span
class="s3">xi:include</span> <span class="s4">href</span>="yanelresource:/de/header.yanel?path={$yanel.path}"<span
class="s2">/></span></p>
</div>
<div><br>
</div>
<div>it seems that the resource serving the content for that
included content must deliver content in mime type
"application/xhtml+xml".</div>
<div>when changing it into "text/html" it throws many exceptions
in the log.</div>
</blockquote>
<br>
yes, because it's not considered to be well-formed<br>
<blockquote
cite="mid:CAOXzDSG6467UMEeY+qT02EPGsPfgTb0sr3vz2LWsOFDC4JxorA@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>does anybody have used includes with "text/html" content?</div>
</blockquote>
<br>
why do you want to include something inside XML/XHTML, which might
not be XML/XHTML?<br>
<br>
Or otherwise you might want to consider to use CDATA, but I guess
then you would have to use something<br>
different than xi:include, because I would assume that XInclude
would always require some well-formed XML/XHTML per definition.<br>
<br>
HTH<br>
<br>
Michael<br>
<blockquote
cite="mid:CAOXzDSG6467UMEeY+qT02EPGsPfgTb0sr3vz2LWsOFDC4JxorA@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>Thanks</div>
<div>cheers</div>
<div>Balz<br>
</div>
<div title="signature"> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>