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 » changing name value pair text into xml

Post new topic  Reply to topic
 changing name value pair text into xml « View previous topic :: View next topic » 
Author Message
kirans
PostPosted: Tue Dec 12, 2006 8:36 pm    Post subject: changing name value pair text into xml Reply with quote

Novice

Joined: 26 Sep 2005
Posts: 17

what is the best way of converting name value pair into xml format. The input file is as follows:

name=value<crlf>


One way is change it into compute node. Can we teach some node about the input data and another node to change it to xml?

The way i can think of is take input as blor, change it a string and parse it in compute node manually. Can we do it more automatically ? The xml output is as follows:

<name> value</name>



Any idea/suggestion would be highly appreciated
Back to top
View user's profile Send private message
jbanoop
PostPosted: Wed Dec 13, 2006 12:21 am    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

model MRM msgset for ur incoming msg
Then for each name/value record, create XML tag dynamically using the CREATE statement in compute node.

look up on creating MRM msgsets and the CREATE statement in ESQL ..it should not be very difficult is what i feel.
Regards,
Anoop
Back to top
View user's profile Send private message Yahoo Messenger
kimbert
PostPosted: Wed Dec 13, 2006 3:13 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

kirans,

Your input message is formatted text. The correct way to handle that is using the MRM domain with the TDS parser ( NOT using ESQL). So you need to create a message set with a TDS physical format.
If you don't understand that, please get some training or do a lot of reading of the docs and samples.
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 » changing name value pair text into 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.