This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]