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'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] xsl element with mark of exclamation
- From: Helena Ginzburg <helena at nomadiq dot com>
- Date: Wed, 3 Oct 2001 10:27:46 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
Sorry,
I don't need html output : <!NameFunction="Save">
I need html output : <!NameFunction="Save">
it's a problem.
Helena.
-----Original Message-----
From: Jarno.Elovirta@nokia.com [mailto:Jarno.Elovirta@nokia.com]
Sent: Wed, October 03, 2001 10:19 AM
To: xsl-list@lists.mulberrytech.com
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"><!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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list