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

RE: How to retain the apostrope in the xml content whe

Subject: RE: How to retain the apostrope in the xml content when transformed through XSL.
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 12 Dec 2002 10:24:41 -0000
apostro
> <field fid="MiscOtherInfo">update misc 'info' that</field> 
> 
> 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.
> 

Firstly, don't use disable-output-escaping unless you have a very good
reason that you want to produce ill-formed XML or HTML.

Having said that, I don't understand why you're getting this output.

Are you using the HTML output method?

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@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.