on 03-02-2007 3:07 AM
Hi All,
From my incoming message, I have to replace some characters like <b>"</b> to <i>& quot;</i> and <b>'</b> to <b>& #39;</b>. i tried to use replace string but ultimately the output has <b>'</b>, because the & is again being replaced by XI as & amp;
Is there any way to overcome this.
The characters i want to replace are <b>'</b> , <b>"</b> , <b>&</b> , <b><</b> and <b>></b>.
Thank you,
Regards,
Balaji.M
Hi,
As expaline by bhavesh, please check , which character set you are using..
If you are using content conversion , there is a option to use escapesequence characters..in the place of begin and end separaters..
Or use XSLT mapping CDATA if you have the special chars in message..
please see the below link
http://help.sap.com/saphelp_erp2005vp/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Balaji,
These are standard XML escape sequences and these will be escaped by Default internally as & etc.
When you view the same XML in a browser they will look like you want them to look.
Also note that if you are planning to use content conversion , even content conversion will be abale to handle this.
Can you let us know why you are trying this?
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.