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 » suppress namespace

Post new topic  Reply to topic
 suppress namespace « View previous topic :: View next topic » 
Author Message
madi
PostPosted: Wed Apr 05, 2006 2:08 pm    Post subject: suppress namespace Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

I have this input:

Code:
   <Order xmlns:TRBShippingGroup="http://www.atg.com/ns/orderXMLfor3PL/Orders/TRBShippingGroup">


I need to suppress the namespace

Output:

<Order>

I tried some stuff but didnt work. Point me to Docs if u think this is basic.

thanks
--madi
Back to top
View user's profile Send private message
madi
PostPosted: Thu Apr 06, 2006 7:01 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

So it cant be done??
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 06, 2006 7:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It can be done, I remember seeing previous postings about it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 06, 2006 7:22 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

I think it's either (code not actually tested in any way)

Code:
SET OutputRoot.XML.(enter your path here).Order = FIELDVALUE(InputRoot.XML.(put your path here).Order)


or you could remove it after the copy with

Code:
SET OutputRoot.XML.(path here).Order.(XML.Attribute)xmlns = NULL


Or something.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
dsriksha
PostPosted: Thu Apr 06, 2006 9:26 am    Post subject: Re: suppress namespace Reply with quote

Voyager

Joined: 27 Feb 2005
Posts: 95

madi wrote:

I tried some stuff but didnt work. Point me to Docs if u think this is basic.

--madi

Hi Madi ,
How you generating your output xml message using Message sets or dynamically using esql?
Back to top
View user's profile Send private message Send e-mail
madi
PostPosted: Thu Apr 06, 2006 9:43 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

No message sets. Im using eSQL.

Actually i am getting like n number of messages using a java custom node. Then take these messsages merge them into one and wrap it with some headers and send it out.

--madi
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 » suppress namespace
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.