ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Eliminating empty tags while forming the XML output message

Post new topic  Reply to topic
 Eliminating empty tags while forming the XML output message « View previous topic :: View next topic » 
Author Message
boogey
PostPosted: Fri Nov 16, 2007 6:34 am    Post subject: Eliminating empty tags while forming the XML output message Reply with quote

Novice

Joined: 01 Jan 2007
Posts: 21

Hi ,
I formed an XML output message from XML input message using Compute node(ESQL). I got some empty tags in the output for fields which not get mapped from an input.
I don't want to use mapping node . Please anyone tell me how to eliminate these empty tage in output message.
Thanks in adavnce
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Nov 16, 2007 3:08 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Delete the unwanted elements from your output message tree.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Nov 16, 2007 4:31 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

kimbert wrote:
Delete the unwanted elements from your output message tree.


By setting them = NULL.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sourdas2
PostPosted: Sat Nov 17, 2007 2:19 am    Post subject: Reply with quote

Voyager

Joined: 21 Apr 2006
Posts: 90
Location: Kolkata,India

May be the blank tags are being created because the source mapping filed is also blank.. for that u can use NULLIF function
Code:

SET OutputRoot.XML.ABC.ABC1 = NULLIF(OutputRoot.XML.ABC2.ABC3,'');

_________________
Thanks and Warm Regards
Sourav
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Eliminating empty tags while forming the XML output message
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.