xsl-list
[Top] [All Lists]

RE: how to get < sign in output of an xslt

2003-01-06 02:49:48
&lt; is equivalent to the < character in the logical model of an XML document 
(i.e. what you see in ie).  What output type are you using?  Try
<xsl:output method="text"/>

from the XSLT specification.

http://www.w3.org/TR/xslt#section-Text-Output-Method
16.3 Text Output Method
The text output method outputs the result tree by outputting the string-value 
of every text node in the result tree in document order without any escaping.

Edward Middleton

-----Original Message-----
From: Sai, Mukundan (IE10) [mailto:Sai(_dot_)Mukundan(_at_)honeywell(_dot_)com]
Sent: Monday, January 06, 2003 6:03 PM
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] how to get < sign in output of an xslt 


hi everybody ...
i have an xslt which is outputting a text ...
i want  '< ' symbol to appear in the text output ...
when i use  &lt; it is outputted as '&lt;' only not as '<' .. only if i view
the ouput in ie do i get '<' symbol .. can anybody tell me how 
to get '<' in the text output of an xslt ..
thanks in advance  
rgds ..
Mukund 


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


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



<Prev in Thread] Current Thread [Next in Thread>