xsl-list
[Top] [All Lists]

Re: Including inc files in xsl

2004-01-27 14:34:07
Archana Rao wrote:

I tried both the ways
<!--#include virtual="myinclude.inc"-->
and <xsl:comment>#include
 virtual="myinclude.inc"</xsl:comment>

it did not work for me.

[this is getting off-topic now]

When viewing the page, are you serving it from a webserver that supports SSI? It won't work if you are simply viewing it from the file system.

From http://httpd.apache.org/docs/howto/ssi.html:

"To permit SSI on your server, you must have mod_include installed and enabled. Additionally, you must have the following directive either in your httpd.conf file, or in a .htaccess file:

Options +Includes

This tells Apache that you want to permit files to be parsed for SSI directives."

best,
-Rob



Archana



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>