|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
CSV to XML Conversion |
« View previous topic :: View next topic » |
Author |
Message
|
6FA |
Posted: Wed Feb 24, 2016 3:29 am Post subject: CSV to XML Conversion |
|
|
Novice
Joined: 08 Jan 2016 Posts: 21
|
Hi Guys,
I want to do CSV to XML conversion using Mapping node. Here my requirement is 2 input fields should map to only one output field.
How can I achieve this?
I have a CSV message as below.
AAA,BBB,CCC,DDD
And I should get the output XML message as below
<Root>
<Name>AAA</Name>
<Name>BBB</Name>
</Root>
How I can get this result? Please do some needful.
Thanks  |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 24, 2016 5:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you tried using a data model for your XML and mapping the two messages?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
timber |
Posted: Wed Feb 24, 2016 6:16 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
What went wrong when you tried it? |
|
Back to top |
|
 |
martinb |
Posted: Thu Feb 25, 2016 9:48 am Post subject: |
|
|
Master
Joined: 09 Nov 2006 Posts: 210 Location: UK
|
Sounds like a straight forward DFDL model for CSV input, and XML schema model output with Mapping node doing the transform. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|