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

& replacemnt?

Subject: & replacemnt?
From: "El Hage Camille" <CAMILLE.ELHAGE@xxxxxxxxxxxxxxxx>
Date: Mon, 2 Dec 2002 17:34:50 +0100
fop amp
Hi all,
I have a source xml file containing data as:
<html>
  <b>Gamme de vitrages d&amp;#8217;allèges opacifiés </b>
  <li>Vitrages d&amp;#8217;allèges composés d&amp;#8217;un vitrage à contrôle solaire Solarbel et d&apos;une laque noire </li>
</html>
the problem is that when I want to translate such data into PDF using XSL + FOP, the &amp;#8217; is showed as &#8217; while what I need is to show the value of &#8217; which is ' (the apostrophe in this case).
I tried to use a replacement template (GlobalReplace found here: http://www.xml.com/pub/a/2002/06/05/transforming.html) but I could not replace the "&amp;" string by the "&" character, somehow this function also expects a value to be given after the &. Trying to replace "&amp;" by "&amp;" was of course useless too.
Anybody has an idea about how I can solve that?
thanks in advance

Camille

 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.