cancel
Showing results for 
Search instead for 
Did you mean: 

remove prefix ns from target xml

Former Member
0 Kudos

Hi Guys,

I have a target file that is as follows

<?xml version="1.0" encoding="UTF-8"?>

<ns:MT_Case1 xmlns:ns0="urn:Case:Case1">

<Field1></Field1>

<Field2></Field2>

<Field3></Field3>

< ns /MT_Case1>

How can I remove the pre fix ns from the target xml?

can ne one help pls?

Edited by: Ravindra Teja on Jul 6, 2011 6:58 PM

Edited by: Ravindra Teja on Jul 6, 2011 7:00 PM

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Open your target message type, delete the entry from the xml namespace. Save and activate.

Hope this helps,

Mark

Former Member
0 Kudos

Thanks Mark ..

Answers (3)

Answers (3)

naveen_chichili
Active Contributor
0 Kudos

Hi,

Try encoding ISO-8859-1 this may help you...

Regards,

Naveen

Former Member
0 Kudos

chk this:

/people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You can add or remove the namespace prefix using XMLAnonymizerBean module.

Refer this [link|http://help.sap.com/saphelp_nw04/helpdata/en/45/d169186a29570ae10000000a114a6b/content.htm]

BTW, this namespace prefix might not cause any impact.. What do u test? If the namespace prefix nso is removed using xmlspy editor then you dont get namespace prefix in the element tag.