Posted: Wed May 27, 2015 9:57 am Post subject: CREATE statement - delete empty xml tags
Partisan
Joined: 25 Jul 2006 Posts: 369
Hi All,
I have to build an XML message with the response from a service.
I am using CREATE statement to build each element and assign value like below example.
Quote:
CREATE LASTCHILD OF OutputRoot.XMLNSC.Coverage.Benefit Name('description') Value InputRoot.XMLNSC.X.X.description
But if the element in the input is not present(doesnt not exist), then i am creating an empty "description" element tag.
I don't want to create an element if input element doesn't exist.
Can you pls let me know if this is possible with create statement?
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