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 » Removing namespace prefix from XML

Post new topic  Reply to topic
 Removing namespace prefix from XML « View previous topic :: View next topic » 
Author Message
Halloween
PostPosted: Wed Feb 24, 2016 6:00 pm    Post subject: Removing namespace prefix from XML Reply with quote

Acolyte

Joined: 11 Mar 2015
Posts: 60

<NS1:OrderHeader xmlns:NS1="http://tempuri.org/task"><NS1:Store>Ballard</NS1:Store><NS1:CustEDP>11926287</NS1:CustEDP></NS1:OrderHeader

I am trying to remove the NS1 from the above XML

I am trying to write an esql logic to remove it.

Any help would be appreciated.

Thanks
Back to top
View user's profile Send private message
maurito
PostPosted: Wed Feb 24, 2016 11:19 pm    Post subject: Re: Removing namespace prefix from XML Reply with quote

Partisan

Joined: 17 Apr 2014
Posts: 358

Halloween wrote:
<NS1:OrderHeader xmlns:NS1="http://tempuri.org/task"><NS1:Store>Ballard</NS1:Store><NS1:CustEDP>11926287</NS1:CustEDP></NS1:OrderHeader

I am trying to remove the NS1 from the above XML

I am trying to write an esql logic to remove it.

Any help would be appreciated.

Thanks

This topic has been discussed before in this forum. Have you searched for an answer ?
And even if had not, you should tell us what you have tried and what problems you found.
Back to top
View user's profile Send private message
joebuckeye
PostPosted: Thu Feb 25, 2016 7:41 am    Post subject: Reply with quote

Partisan

Joined: 24 Aug 2007
Posts: 365
Location: Columbus, OH

Are really trying to remove the namespace from the message or do you just not like the NS1 namespace prefix in the message?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 25, 2016 7:49 am    Post subject: Reply with quote

Grand High Poobah

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

joebuckeye wrote:
Are really trying to remove the namespace from the message or do you just not like the NS1 namespace prefix in the message?


It's a good & sensible question, but by a thousand to one coincidence the advice....

maurito wrote:

This topic has been discussed before in this forum. Have you searched for an answer ?
And even if had not, you should tell us what you have tried and what problems you found


......still holds.


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
joebuckeye
PostPosted: Thu Feb 25, 2016 7:55 am    Post subject: Reply with quote

Partisan

Joined: 24 Aug 2007
Posts: 365
Location: Columbus, OH

True.

I'm just trying to get the OP to figure out what he really wants to do.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 25, 2016 7:57 am    Post subject: Reply with quote

Grand High Poobah

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

joebuckeye wrote:

I'm just trying to get the OP to figure out what he really wants to do.


I'm sticking with "good and sensible question"
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Removing namespace prefix from XML
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.