[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: "eoin walsh" <paul5@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Oct 2002 09:43:38 +0100
eoin walsh
David - thanks for you help. Unfortunately the "&#8226;" string is actually 
retrieved from a database. It's escaped into "&#8226;" before insertion into 
a table (from which I do a simply sql select).... looks like I'm going to 
have to get them to change it from the other side of the DB.

Cheers

Pau; 


> >  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.
> 
> David
> 
> _____________________________________________________________________
> 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




 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.