RE: [xsl] xsl element with mark of exclamation

Subject: RE: [xsl] xsl element with mark of exclamation
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 3 Oct 2001 11:18:36 +0300
> 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


Current Thread