Posted: Wed Nov 19, 2014 7:43 am Post subject: XML empty start tag is getting ignored after parsing
Acolyte
Joined: 30 May 2011 Posts: 56 Location: India
I am facing an issue while parsing my XML message. If I am getting an empty tag (<Value></Value>) from source system than after parsing my target system is getting tag (</Value>).
But target system want tag to be in same format which source system in sending. How can I achieve this?
I'm looking for a generalized solution as my input XML could be big and solution could be easily applied on all incoming XML fields.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
I know that this has been asked at least once before. A little searhing may help you find a solution. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum