I want to know if its possible to use server side includes (SSI) with xslt.
Usually in html the way we do it is by using the following syntax: <!-- ssi code here -->
But the start & end tags are treated as comments in xslt. Is there a way out? I appreciate any response.
posted 11 years ago
You can generate comments using XSLT using the xsl:comment instruction. Or, if the SSI comments are in your XML source, you can match them using comment() and pass unchanged to the output, for example: