Skip to Content
0
Former Member
May 07, 2010 at 08:35 AM

XML data in output file

59 Views

Hi,

I am creating a RFC - File scenario and i want the output file in XML format. So I m using "File" in the message protocol of the receiver file.

My output file structure format is as below:

<?xml version="1.0" encoding="UTF-8"?>
*<ns1:MT_LEBIZ xmlns:ns1="http://lebiz">*
<HEADER>
<CODE>TOT</CODE>
</HEADER>
<DETAILS>
<SEGMENT>
<NUMBER>01</NUMBER>
<LABEL>Account Assignment Cat</LABEL>
</SEGMENT>
<SEGMENT>
<NUMBER>02</NUMBER>
<LABEL>GL Account</LABEL>
</SEGMENT
</DETAILS>
</ns1:MT_LEBIZ>

but i wanted to display www3.org in the namespace in the following line which is marked in bold.

<ns1:MT_LEBIZ xmlns:ns1="http://lebiz">

how can i achieve that?