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 » XML Null tags

Post new topic  Reply to topic
 XML Null tags « View previous topic :: View next topic » 
Author Message
adrao45
PostPosted: Tue May 17, 2005 10:14 am    Post subject: XML Null tags Reply with quote

Novice

Joined: 29 Nov 2004
Posts: 12

Hi All,


I have write the following ESQL code for creating XML Null tag

SET OutputRoot.XML.File.Name=NULL;

But the the XML parser does't create the "Name" field tag .

If i write following code,it will have created the "Name" field tag .

SET OutputRoot.XML.File.Name='';

I appreciate if you could share your valuable comments...

Thank you!
Back to top
View user's profile Send private message
maha20
PostPosted: Tue May 17, 2005 10:23 am    Post subject: Reply with quote

Voyager

Joined: 23 Sep 2003
Posts: 79

SET OutputRoot.XML.File.Name=NULL;

Will nullify the field 'Name'. If you don't want to give any value to the field you can use

CREATE FIELD OutputRoot.XML.File.Name;
_________________
IBM Certified System Administrator -WMQ V5.3
SCJP 1.4
Back to top
View user's profile Send private message
adrao45
PostPosted: Tue May 17, 2005 10:36 am    Post subject: Reply with quote

Novice

Joined: 29 Nov 2004
Posts: 12

Hi ,

Thanks for u r reply.
My requirement is like create XML empty tag using the following ESQL code

SET OutputRoot.XML.File.Name=NULL;

Can we do this or not?

Thank you!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 17, 2005 11:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes.

This can be done.

maha20 already told you one way.

The documentation tells you another.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
adrao45
PostPosted: Tue May 17, 2005 12:25 pm    Post subject: Reply with quote

Novice

Joined: 29 Nov 2004
Posts: 12

Hi,


I did't find any documentation,Can u send it to me.


Thank You!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 17, 2005 12:54 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

adrao45 wrote:
I did't find any documentation,Can u send it to me.


I am not here to do your job for you.

If you didn't find ANY documentation for WBIMB, you didn't look very hard.

If you didn't find the documentation that tells you how to use ESQL to create XML, you didn't look in the right place in the documentation.

This is an XML/XMLNS Domain question. You need to find the section of the documentation that talks about elements and values in the XML/XMLNS Domain, and read it.

Or, you know, use the Search button at the top of this page to find all the other times this same question has been asked and answered.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
adrao45
PostPosted: Tue May 17, 2005 1:15 pm    Post subject: Reply with quote

Novice

Joined: 29 Nov 2004
Posts: 12

Hi,

Sorry, I am in my work tension.
Thanks for u r help.
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 » XML Null tags
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.