View previous topic :: View next topic
|
Author |
Message |
Kiran Chava
New User
Joined: 07 Jul 2010 Posts: 9 Location: India
|
|
|
|
Hi,
We are sending some data to other system in an xml format. I have a filed which is a freeform text type. I have some special symbols in that filed (e.g. &, @, $, % etc). while using generate xml, these symbols are being converted.( eg & is converted to &). But I have to send only &. Could anyone tell me how we can do that. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
If the software at the other side is correct, it will convert the & back to & |
|
Back to top |
|
|
Kiran Chava
New User
Joined: 07 Jul 2010 Posts: 9 Location: India
|
|
|
|
Not sure about the software at the other end but they are expecting only &. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Duh! If the software at the other end is correct then all they will see at the other end is '&' because the software there will have converted it back. But you can find this out during your testing and take the necessary steps to convert the '&' back to '&' before sending the data. |
|
Back to top |
|
|
Balaji Krishnamurthy
New User
Joined: 26 Feb 2008 Posts: 20 Location: chennai
|
|
|
|
you can parse the generated xml using cobol xml parser and convert & to '&'. |
|
Back to top |
|
|
|