Author |
Message
|
Halloween |
Posted: Wed Feb 24, 2016 6:00 pm Post subject: Removing namespace prefix from XML |
|
|
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 |
|
 |
maurito |
Posted: Wed Feb 24, 2016 11:19 pm Post subject: Re: Removing namespace prefix from XML |
|
|
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 |
|
 |
joebuckeye |
Posted: Thu Feb 25, 2016 7:41 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Thu Feb 25, 2016 7:49 am Post subject: |
|
|
 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 |
|
 |
joebuckeye |
Posted: Thu Feb 25, 2016 7:55 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Thu Feb 25, 2016 7:57 am Post subject: |
|
|
 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 |
|
 |
|