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 » NameSpace declaration Question

Post new topic  Reply to topic
 NameSpace declaration Question « View previous topic :: View next topic » 
Author Message
kirankinnu
PostPosted: Fri Nov 04, 2005 2:39 pm    Post subject: NameSpace declaration Question Reply with quote

Centurion

Joined: 12 Jun 2004
Posts: 128
Location: Chicago, IL

I am giving this sample NameSpace declaration

SET OutputRoot.XMLNS.ErrorList.(XML.NamespaceDecl)xmlns = 'http://iag.com/scv/error-1/2004/01';

And the "ErrorList" in the above statement is a variable. So, when I see the output I get ErrorList in the tree structure. How can I get the value of ErrorList instead of "ErrorList".
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Nov 04, 2005 3:11 pm    Post subject: Re: NameSpace declaration Question Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

kirankinnu wrote:
And the "ErrorList" in the above statement is a variable. So, when I see the output I get ErrorList in the tree structure. How can I get the value of ErrorList instead of "ErrorList".


Well.

That depends...

Is "ErrorList" a single value, or a tree?

If it is a single value, you can use { }.

If it is a tree... you can't. You need to use a Reference. And then you need to start your ESQL name with the reference, and can't just throw it into the middle of a name.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kirankinnu
PostPosted: Mon Nov 07, 2005 7:12 am    Post subject: Solved Reply with quote

Centurion

Joined: 12 Jun 2004
Posts: 128
Location: Chicago, IL

Thanx jefflowrey,
Got the result.
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 » NameSpace declaration Question
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.