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

RE: global find and replace certain "special" characte

Subject: RE: global find and replace certain "special" characters and replicate structure as it is
From: "SANWAL, ABHISHEK (HP-Houston)" <abhishek.sanwal@xxxxxx>
Date: Wed, 8 Sep 2004 12:18:46 -0500
infopath encoding
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

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.