Re: [xsl] RE: Statement Printing on HTML

Subject: Re: [xsl] RE: Statement Printing on HTML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 14 Jan 2004 16:27:36 GMT
  Following has resolved the issue

  <xsl:text disable-output-escaping="yes">&lt;!--#include
  virtual="u/can/add/this1.htm"--&gt;</text>


It's always a bad idea to use disable-output-escaping, unless there is
really no other alternative, and even then it may not work as xslt
engines are allowed to ignore disable-output-escaping.

In this case you want to generate a comment, so

<xsl:comment>#include virtual="u/can/add/this1.htm"</xsl:comment>

is all you need.

David

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

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread