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 » Empty tags on XML output

Post new topic  Reply to topic
 Empty tags on XML output « View previous topic :: View next topic » 
Author Message
petervh
PostPosted: Thu Sep 13, 2007 4:46 am    Post subject: Empty tags on XML output Reply with quote

Apprentice

Joined: 15 Jun 2006
Posts: 31

WBI V6:

I'm using a mapping node to map input XML to an output XML structure. I need to have the output structure contain all tags that are in the XSD, even where these contain no data.

I've seen the item on using the "Encoding Numeric Null" option

http://www.mqseries.net/phpBB2/viewtopic.php?t=15964&highlight=xml+null+handling

and I have set the XML Null Handling for "Encoding Numeric Null" and "Encoding Non-numeric Null" to NullEmpty, but I don't see the empty tags in my output structure. In this item, kimbert mentioned that
"You will also need to add a 'Null Permitted' value constraint to each nullable element in your model, or else set the 'Default Null Permitted' flag on the message set" for a WMQI V2 system. Does this apply in V6? What else do I need to set?
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Sep 13, 2007 5:23 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

In v6, go to the element definition and tick the 'Nillable' property.
For this property there is no message set default in v6.
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 » Empty tags on XML output
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.