Re: [xsl] printing Quote in XSL

Subject: Re: [xsl] printing Quote in XSL
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Thu, 21 Nov 2002 17:16:39 -0000
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@xxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
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


Current Thread