xsl-list
[Top] [All Lists]

Re: printing Quote in XSL

2002-11-21 10:16:39
hi. Mani 
just assumed the following xml

<?xml version="1.0"?>
<statement>
This is a &amp;quot;IMPORTANT&amp;quot; meeting
</statement>

For this to output the text in the way you wanted it,
you may do one of the following.
1. declare <xsl:output method="text"/>
or
2.<xsl:value-of disable-output-escaping="yes" select="statement"/>

The first is better..
This should do the job
HTH
----- Original Message ----- 
From: "Mani Malarvannan" <mani(_at_)cybelink(_dot_)com>
To: <XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, November 21, 2002 4:28 PM
Subject: [xsl] printing Quote in XSL


Hi,
I've following string obtained from an HTML page, which has a quote 
in it,  
This is a &amp;quot;IMPORTANT&amp;quot; meeting

The above string looks This is a "IMPORTANT" meeting in the browser

Now I want to display the same string in a different page using XSL 
I'm getting  This is a &amp;quot;IMPORTANT&amp;quot; meeting in the 
browser, How can I tell the XSL to convert the &amp;quote into ".


Thanks

-Mani








 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>