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.
Thank you.
Dmitry Kirsanov
Author
Ranch Hand
Joined: Apr 26, 2004
Posts: 33
posted
0
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: