RE: [xsl] xsl element with mark of exclamation

Subject: RE: [xsl] xsl element with mark of exclamation
From: Helena Ginzburg <helena@xxxxxxxxxxx>
Date: Wed, 3 Oct 2001 10:27:46 +0200
Sorry,
I don't need html output : &lt;!NameFunction="Save"&gt;
I need html output       : <!NameFunction="Save"> 
it's a problem.

Helena.

-----Original Message-----
From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
Sent: Wed, October 03, 2001 10:19 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] xsl element with mark of exclamation


> Hi,
> I'm trying to write xsl to produce following file :
> 
> <html>
> ......
> 	<!Name  Function="Save">
> ......
> </html>
> I have a problem with writing element with mark of 
> exclamation (<!...>). 

Your XSLT stylesheet is XML and XML doesn't allow exclamation marks in
element names. If your output isn't XML, use something in the lines of

<xsl:text disable-output-escaping="yes">&lt;!Name
Function="Save"&gt;</xsl:text>

if your engine supports disable-output-escaping.

Jarno

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

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


Current Thread