OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] HTML Include in XSL document

[this is the wrong list for this kind of question but...]

> Can someone advise me how I can force <!--#include

That is a comment (even if your server doesn't really treat it as a comment)
so you can use <xsl:comment>#include ...</xsl:comment>

however rather than having to re-process the output of XSL to do server
side includes, you could just as easily get XSL to do the include itself
and do
<xsl:copy-of select="document('/includes/leftmenu.html')"/>
so long as leftmenu.html is well formed XML.


xsl-list is better for this type of qn:

This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.