I have the following problem, We have web content manager [WCM](WCM) running at remote host, which is responsible for generating header &and footer HTML files. i.e. header.html, footer.html. The HTML files are not properly formatted syntax wise, WCM generated files have
- Space character (
) -->🡢 it is not allowed in xhtmlXHTML. - Non Closing break line (
<br>) tags. --> 🡢 it is invalid in XHTML.
So the WCM Generatedgenerated HTML pages are might not be a valid XHTML pages.
We are implementing some of our applications in JSF, where we need to include the WCM generated header &and footer files. canCan we include the non-formatted HTML files into our XHTML files ?
commonTemplate.xhtml
<html> <head> ..........; </head> <body> <ui:include src="remote_host/header.html" /> <ui:insert name="commonBodyContent" /> <ui:include src="remote_host/footer.html" /> </body> </html>