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 » NULL handling in MRM XML

Post new topic  Reply to topic
 NULL handling in MRM XML « View previous topic :: View next topic » 
Author Message
WBI_developer
PostPosted: Thu Apr 20, 2006 12:17 pm    Post subject: NULL handling in MRM XML Reply with quote

Apprentice

Joined: 02 Jun 2004
Posts: 25

Hello all,
I am having trouble removing attributes which have a value NULL in the output node. The message set seems to be replacing all the NULL values with empty string. I have tried all the options in MRM "Encoding Null Non-Num Value" but none of them is helping me to remove the attribute. Can anybody help me.

Thanks You very much
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Apr 20, 2006 1:11 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You cannot 'remove attributes' using MRM null handling. If you want to delete nodes which have the value 'NULL' from the message tree before serializing the message, you'll have to write some ESQL.

MRM null handling translates between logical nulls ( i.e. syntax elements with a NULL value ) and physical nulls ( whatever the user likes to think of as 'null' in their document ). So you can use this feature to control how a null value appears in the input or output document, but you can't use it to delete the entire element/attribute.
Back to top
View user's profile Send private message
WBI_developer
PostPosted: Thu Apr 20, 2006 1:12 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jun 2004
Posts: 25

Sorry I didn't post much information. I am using WBIMB v5.4. The MRM referred is an XML MRM which is created from an XSD.
Back to top
View user's profile Send private message
WBI_developer
PostPosted: Thu Apr 20, 2006 1:14 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jun 2004
Posts: 25

Thanks Kimbert that helps. I dont have to spend more time trying to remove the attributes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » NULL handling in MRM XML
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.