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 » Reg: CSV(Tab Separator) to XML

Post new topic  Reply to topic
 Reg: CSV(Tab Separator) to XML « View previous topic :: View next topic » 
Author Message
atlas
PostPosted: Wed Jul 03, 2013 7:32 am    Post subject: Reg: CSV(Tab Separator) to XML Reply with quote

Newbie

Joined: 03 Jul 2013
Posts: 6

Hi All

My input looks like:

Part number Description
-------------- ---------------
123456789 Engine
234578901 Pipe
345687677 Bolt

i.e., after part number eg:123456789 there is tab separator then continues description here in this case Engine

Now i need to convert it to XML .

I have a doubt in creating message set for CSV i.e for Tab separator.
How do we define it for Tab separator.Is there any properties we need to set.
Please lemme know what are those propeties i need to set.

Thanks in advance.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 03, 2013 7:37 am    Post subject: Re: Reg: CSV(Tab Separator) to XML Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

atlas wrote:
Is there any properties we need to set.


I'd say you need to use a tab character rather than a comma as a delimiter. Seriously. I don't see you'd need to change anything else.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
atlas
PostPosted: Wed Jul 03, 2013 7:45 am    Post subject: Re: Reg: CSV(Tab Separator) to XML Reply with quote

Newbie

Joined: 03 Jul 2013
Posts: 6

Vitor wrote:
atlas wrote:
Is there any properties we need to set.


I'd say you need to use a tab character rather than a comma as a delimiter. Seriously. I don't see you'd need to change anything else.


Hi Vitor

Thanks for your Early response.

You mean that i need to use tab i.e., instead of comma i just need to use Tab here right ?

Please confirm me once

Thanks in advance
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 03, 2013 7:56 am    Post subject: Re: Reg: CSV(Tab Separator) to XML Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

atlas wrote:
You mean that i need to use tab i.e., instead of comma i just need to use Tab here right ?


Unless you feel that there's a structural difference between a stream of text with commas between the fields and a stream of text with tabs between the fields.

I feel compelled to point out that you could have found out if that's all you need to do by just trying it in a tenth of the time you've taken to post here and ask if that's all you need to do.

I also feel I should point out if you're on a DFDL-enabled version of WMB you shouldn't be using a message set for new development of message models.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Reg: CSV(Tab Separator) to XML
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.