|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
NameSpace declaration Question |
« View previous topic :: View next topic » |
Author |
Message
|
kirankinnu |
Posted: Fri Nov 04, 2005 2:39 pm Post subject: NameSpace declaration Question |
|
|
 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 |
|
 |
jefflowrey |
Posted: Fri Nov 04, 2005 3:11 pm Post subject: Re: NameSpace declaration Question |
|
|
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 |
|
 |
kirankinnu |
Posted: Mon Nov 07, 2005 7:12 am Post subject: Solved |
|
|
 Centurion
Joined: 12 Jun 2004 Posts: 128 Location: Chicago, IL
|
Thanx jefflowrey,
Got the result. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|