RE: global find and replace certain "special" characte
The Source XML as generated by Infopath: Encoding: UTF-8 Character in Hex: c2 Output XML generated after XSL Transform: Encoding: UTF-8 Character in Hex: a0 I essentially want to "eliminate" or be able to "replace" these characters globally either from the source XML before applying my other transforms & templates or after the transforms have been applied. Kindly advise. Thanks, Abhishek ____________________________________________________________ Abhishek Sanwal HP - Houston Campus -----Original Message----- From: Michael Kay [mailto:mhk@xxxxxxxxx] Sent: Wednesday, September 08, 2004 2:40 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: global find and replace certain "special" characters and replicate structure as it is > > I am using Infopath to collect rich text from a word document > and for some weird reason the output I get in the XML has the > special B character in it. > > I understand that the UTF-8 encoding etcetra causes it to be > visible that way. > The first thing is to discover whether the XML is actually incorrect, or whether it is simply being displayed incorrectly. To help you answer that question, we need to know (a) what encoding is specified in the XML declaration (assuming there is one), and (b) what the actual bytes (octets) in the file are. You can find this out using a hex editor. Michael Kay
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