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 » parsing XML to a flatfile

Post new topic  Reply to topic
 parsing XML to a flatfile « View previous topic :: View next topic » 
Author Message
vchava
PostPosted: Fri May 02, 2008 7:44 am    Post subject: parsing XML to a flatfile Reply with quote

Newbie

Joined: 02 May 2008
Posts: 1

Hi all,

Can anyone help me to solve this issue.

I get a XML similar to the following.
<PriceChanges>
<PriceChange>
<username>puser</username>
<itemNumber>EC30ATL00CP</itemNumber>
<price>111.00</price>
</PriceChange>
<PriceChange>
<username>puser</username>
<itemNumber>ER76ABS46CP</itemNumber>
<price>111.00</price>
</PriceChange>
<PriceChange>
<username>puser</username>
<itemNumber>ES40CFX04BP</itemNumber>
<price>111.00</price>
</PriceChange>
</PriceChanges>

Now i have a single PriceChange message and send to another system(in CWF format) as individual message.this part i am able to do it.

2nd part i have to extract them as indivual messages as above CWF and combine all of them in a single string. How can i do it.

thanks
Back to top
View user's profile Send private message
madi
PostPosted: Fri May 02, 2008 8:41 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

you can just take it in as blob and cast to char and concatenate it!!
--madi
_________________
IBM Certified Solutions Developer - WMB 6.0
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri May 02, 2008 8:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

No need to cast to char. || works with BLOB.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
madi
PostPosted: Fri May 02, 2008 8:45 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

hmm wasnt sure it worked .... but now i am

--madi
_________________
IBM Certified Solutions Developer - WMB 6.0
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 » parsing XML to a flatfile
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.