<div dir="ltr">dear all,<div><br></div><div style>I wanted to implement the following, but I struggled.</div><div style><br></div><div style><b>What I have:</b></div><div style>- There are two resources (A+B) producing a valid HTML page with mime type "text/html".</div>
<div style>So when looking at the source of those HTML pages, I see this at the top:</div><div style><br></div><div style><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<a href="http://www.w3.org/TR/html4/loose.dtd">http://www.w3.org/TR/html4/loose.dtd</a>"><br>
</div><div style><br></div><div style>- Resource B is able to deliver the whole page without menu and sidebar. This is achieved by passing in a URL parameter.</div><div style><br></div><div style><b>What i want:</b></div>
<div style><br></div><div style>- I would like to call the resource B with contentonly=true and include the resulting HTML code into the page of resource A.</div><div style><br></div><div style>How can you do that?</div><div style>
<br></div><div style>When I use the following in a XSL of resource A...</div><div style><br></div><div style><b><xi:include href="yanelresource:/blabla/blabla"/></b><br></div><div style><br></div><div style>
... it gives me this error:</div><div style>Transformation error: <a href="http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3">http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3</a>: exception:org.xml.sax.SAXParseException: The declaration for the entity "HTML.Version" must end with '>'. root-cause:null line: -- Typical usage: line: ^ error: org.xml.sax.SAXParseException: The declaration for the entity "HTML.Version" must end with '>'. ).<br>
</div><div style><br></div><div style>If you know something about how to include the HTML output of another resource in the called resource's XSL, let me know.</div><div style><br></div><div style>Cheers</div><div style>
Bas</div></div>