This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl element with mark of exclamation
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] xsl element with mark of exclamation
- From: Jarno dot Elovirta at nokia dot com
- Date: Wed, 3 Oct 2001 11:18:36 +0300
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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"><!Name
Function="Save"></xsl:text>
if your engine supports disable-output-escaping.
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list