RE: [xsl] JSP xml Syntax

Subject: RE: [xsl] JSP xml Syntax
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 11 Jun 2001 10:47:55 +0100
> I am trying to incorporate jsp within my xslt, the following
> is contained
> within the html body of the xsl:
>
> 1. <xsl:comment>&lt;%=......%&gt;</xsl:comment>
>
> When the xml and xslt are processed, the html displays the
> jsp expression as
> follows:
>
> <!--<%= .... %>-->
>
Since "<% --- %>" is incorrect syntax in both XML and HTML, the only ways to
generate it are either (a) using the text output method, or (b) using
disable-output-escaping="yes".

disable-output-escaping is there in the language specifically as a pragmatic
solution to the requirement to generate "almost XML" output formats.

Mike Kay


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


Current Thread