Skip to Content
0

Structured xml file in receiver ftp

Feb 07 at 07:40 AM

27

avatar image
Former Member

Hi Experts,

Scenario : Idoc to file. Interface is working fine.

Issue is with structuring.

Current output:

it is coming in single line

Expected output:

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

Sample.com:Test">

<Record>

<Field1/>

<Field2/>

</Record>

</ns0:MT_Sample>

Can we structure it one below the other.

Is there any setting which i can do or java/xslt mapping??

Please help me.

Regards

Ankyy

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Evgeniy Kolmakov Feb 07 at 02:44 PM
0

Hi Ankyy!

Can I ask about the reasons of such requirement? It's no matter, if your XML file is single or multilined.

Regards, Evgeniy.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Evgeniy,

Since the visibility of each field in different rows is distinct and clear.

Regards

Ankyy

0

Hi Ankyy!

In this case you could use IE for viewing your file or any XML editor which most likely has "Indent" option.

Regards, Evgeniy.

0