[thelist] XSLT and comments/include files

aardvark roselli at earthlink.net
Wed Oct 30 10:19:01 CST 2002

> From: "Norman Beresford" <n.beresford at anansi.co.uk>
> to do is include those in the XSL stylesheet so that I can save the
> output as *.shtml and have the contents of the include file appear in
> the rendered output.   The problem I'm having is that when I include
> the include command (ie <!-- #include
> file="/includes/db_connections.asp" -->) in the XSL file it's not
> appearing in the output as the XSLT thinks it's an XSL comment.  I've
> tried putting it in a CDATA section but thats escaping the angled
> brackets.

didja try this?

&lt;!-- #include file="/includes/db_connections.asp" --&gt;

Read the evolt.org case study
Usability: The Site Speaks for Itself
ISBN: 1904151035

More information about the thelist mailing list