Author |
Message
|
madi |
Posted: Wed Apr 05, 2006 2:08 pm Post subject: suppress namespace |
|
|
 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 |
|
 |
madi |
Posted: Thu Apr 06, 2006 7:01 am Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 06, 2006 7:13 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Thu Apr 06, 2006 7:22 am Post subject: |
|
|
 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 |
|
 |
dsriksha |
Posted: Thu Apr 06, 2006 9:26 am Post subject: Re: suppress namespace |
|
|
 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 |
|
 |
madi |
Posted: Thu Apr 06, 2006 9:43 am Post subject: |
|
|
 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 |
|
 |
|