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

Re: pesky & and fop

Subject: Re: pesky & and fop
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 9 Oct 2002 18:13:47 +0100
fop and utf8
>  String value = "&#8226";

that makes a string of length 6. In the language you are using it
appears as  "&#8226"; but as XML it would appear as  "&amp;#8226";
which is why you get the output you state.

You want instead to have a string of length 1 which has that character.
Depending on the programming language you are using you might be able to
use direct utf8 or utf16 encoding of the character or the language might
have some escape mechanism such as \u8226. The escape mechanism probably
isn't &#8226; unless the language (like xslt) is itself an XMl format,
which appears not to be the case in your example.

> Unfortunately the & in the xml node gets further escaped in the 
> transformation to 
No, not in the transformation, you would see the same if you just
linearised your input dom as XML.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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

Current Thread


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.
First Name
Last Name
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.