|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: pesky & and fop
David - thanks for you help. Unfortunately the "•" string is actually retrieved from a database. It's escaped into "•" 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 = "•"; > > that makes a string of length 6. In the language you are using it > appears as "•"; but as XML it would appear as "&#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 • 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








