Posted: Fri Sep 03, 2010 10:39 am Post subject: Eliminating Namespace
Disciple
Joined: 21 Jul 2003 Posts: 169 Location: IA
We currently use iWAY nodes to access SAP within broker flows. The newer versions of these nodes will generate the XML response from SAP with NameSpaces.
I want to eliminate the Namespaces so to make it transparent to our clients that are already calling these services to access SAP. Is there a simple way to eliminate NameSpace in the Output XML?
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
There is at least one ESQL Code snippet on this forum that does exactly that.
i.e. remove a namespace from an XML Document.
However, my guess is that you want to change the SAP namespace to one of your own thus hiding the SAP origin of the data.
You can traverse the XML copying from the InputRoot to the OutputRoot changing the namespace at the same time. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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