[thelist] XSLT and comments/include files

Norman Beresford n.beresford at anansi.co.uk
Wed Oct 30 11:02:01 CST 2002


Thanks all

Thats done it

Norman


> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of MarsHall
> Sent: 30 October 2002 16:16
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] XSLT and comments/include files
>
>
> On Wednesday, Oct 30, 2002, at 10:08 US/Central, Norman Beresford wrote:
> > 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.
>
> I believe what you need is:
> 	<xsl:comment> #include file="/includes/db_connections.asp"
> </xsl:comment>
>
> See the spec here:
> 	http://www.w3.org/TR/xslt#section-Creating-Comments
>
> Mars :)
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !



More information about the thelist mailing list