[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to retain the apostrope in the xml content when tr

Subject: How to retain the apostrope in the xml content when transformed through XSL.
From: "babu sathish" <rbsathish123@xxxxxxxxxxxxxx>
Date: 12 Dec 2002 04:03:27 -0000
apostrope
HI,

I am unable to clear this bug , please clarify.

The XML input is :

<xhtmldisplay>
<xhtmlpart id="CandOtherInfo">
<query>
<field fid="CandidateId" />
<field fid="CertOtherInfo">other</field>
<field fid="SkillOtherInfo" />
<field fid="MiscOtherInfo">update misc 'info' that</field>
<field fid="DomainOtherInfo" />
</query>
</xhtmlpart>
</xhtmldisplay>

The xsl statement I used to get the Value and to display it on the Browser embeeded with the html.

<xsl:value-of select=".//field[@fid='MiscOtherInfo']" disable-output-escaping="yes"/>


The output I get in the Browser is :


update misc &apos;info&apos; that

Please clarify how to get the contents as it is from the xml.I need the single quote to come as it is in the output as,

update misc 'info' that.


Please clarify,


Thanks in advance,
Babu Sathish.


mailto: rbsathish123@xxxxxxxxxxxxxx


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.