cancel
Showing results for 
Search instead for 
Did you mean: 

file 2 file scenario

former_member192892
Active Contributor
0 Kudos

Hi guys,

I'm trying to do an xml file to text file scenario. I'm getting my output file in the form of an xml with xml tags. I dont want the tags as apart of the output.

I wanted to know whether file content conversion is the only way to achieve this or is there some other simpler way...

Please guys help me on this

Regards

Varun

Accepted Solutions (1)

Accepted Solutions (1)

former_member192892
Active Contributor
0 Kudos

Yes Raj,

That is exactly what i want....

Varun

justin_santhanam
Active Contributor
0 Kudos

Varun,

Follow the below thread. In that ind my reply I gave the cofig paraeters to be done.In that scenario its like CSV to CSV conversion. So consider the example with Receiver comm.channel config alone. If you have any doubt, lemme know.

Best regards,

raj.

former_member184619
Active Contributor
0 Kudos

Hi Varun,

This can be achived by the weblog link i provided above.

chk my reply in this link too.

Sachin

Answers (5)

Answers (5)

justin_santhanam
Active Contributor
0 Kudos

Varun,

<i>I'm getting my output file in the form of an xml with xml tags. I dont want the tags as apart of the output.</i>

Do you mean for example the output file is

<MT_Check_IB>

<Records>

<F1>J</F1>

<F2>P<F2>

</Records>

<Records>

<F1>P</F1>

<F2>J<F2>

</Records>

then u don't want the tags, instead u want the o/p as

J,P

P,J

isn't it. Can u please clarify?

Best regards,

raj.

Former Member
0 Kudos

Hi Varun,

File content conversion is the simplest way to convert an XML file to text file..... Other complex option for doing this is to create J2EE adapter module, modifying the payload in it, then you will have to deploy this J2EE adapter in your XI system and then you will invoke this adapter in your recever file adapter to output the target file............

Thanks,

Rajeev Gupta

Message was edited by:

RAJEEV GUPTA

former_member184619
Active Contributor
0 Kudos

Hi Mukand,

I think File content conversion is the only way..

chk this link

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

Sachin

Former Member
0 Kudos

Hi;

I think content conversion tool is the best and the easiest way out.

Mudit

Former Member
0 Kudos

Hai Varun,

i think file content conversion is the only way to get the xml in to text file

regards

harsha

******reward points if found useful******