ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » CSV to XML Conversion

Post new topic  Reply to topic
 CSV to XML Conversion « View previous topic :: View next topic » 
Author Message
6FA
PostPosted: Wed Feb 24, 2016 3:29 am    Post subject: CSV to XML Conversion Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 24, 2016 5:26 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
timber
PostPosted: Wed Feb 24, 2016 6:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1292

What went wrong when you tried it?
Back to top
View user's profile Send private message
martinb
PostPosted: Thu Feb 25, 2016 9:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » CSV to XML Conversion
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.