Hi Senduran,

It should be comma separated csv to XML format.

*FROM: CSV*
abc, 123, 0.1, xyz,
pqr, 456, 0.01, qwe,
zxy, 789, 0.45, lmn

*TO: XML*
<root>
  <element>

<val1>abc</val1>

<val2>123</val2>

<val3>0.1</val3>
<val4>xyz</val4>

   <element>
<element>

<val1>pqr</val1>

<val2>456</val2>

<val3>0.01</val3>
<val4>qwe</val4>

   <element>
<element>

<val1>zxy</val1>

<val2>789</val2>

<val3>0.45</val3>
<val4>lmn</val4>

   <element>
<root>



On Mon, Dec 1, 2014 at 6:20 PM, Senduran Balasubramaniyam <sendu...@wso2.com
> wrote:

> Hi Lasindu,
>
> Could you please let us know a sample input format and desired output
> format
>
> Thanks
> Senduran
>
> On Mon, Dec 1, 2014 at 2:11 PM, Lasindu Charith <lasi...@wso2.com> wrote:
>
>> Hi all,
>>
>> Does anybody know a way(sample) to transform CSV format to XML in ESB,
>> using some mediator except Smooks? (such as XSLT)
>>
>> Thanks,
>> Lasindu
>>
>> --
>> *Lasindu Charith*
>> Software Engineer, WSO2 Inc.
>> Mobile: +94714427192
>> Web: blog.lasindu.com
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Senduran *
> Software Engineer,
> WSO2, Inc.;  http://wso2.com/ <http://wso2.com/>
> Mobile: +94 77 952 6548
>



-- 
*Lasindu Charith*
Software Engineer, WSO2 Inc.
Mobile: +94714427192
Web: blog.lasindu.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to