Skip to Content
author's profile photo Former Member
Former Member

Delete namespace ns1 from XML file

Hi,

I am using ABAP Proxy Outbound (XI 2.0) to create a XML File (Using File Adapter in the receiver).

ABAP Proxy -> XI -> File Adapter

I need to delete the namespace from the generated XML file. How could I do this?

Generated file:

http://www.w3.org/2001/XMLSchema-instance" CNPJ="012345678">

...

</ns1>

Needed:

<Doc3030 CNPJ="012345678">

...

</Doc3030>

Tks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 11, 2005 at 01:57 PM

    Hi,

    You can write a java map that is called after your message mapping to remove this information. Basically, in the interface mapping you will add a second row, and select java class as the map type.

    Regards,

    Chris

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.