[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Including inc files in xsl


Subject: Re: [xsl] Including inc files in xsl
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 27 Jan 2004 21:33:13 GMT


> I tried both the ways 
> 
> <!--#include virtual="myinclude.inc"-->

This is just a comment in the stylesheet so has no effect on the result.
 
>  and
>  
>  <xsl:comment>#include
>  virtual="myinclude.inc"</xsl:comment>
> 
> it did not work for me.
> 

what do you mean by didn't work?
It should create the comment
<!--#include virtual="myinclude.inc"-->
in the result tree, which was your stated requirement.
It will not of course include the file, that would be the job of your
server side inclusion system (ASP or whatever you are\using)

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

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



Current Thread