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 » map data inside the xml tag delimited by |

Post new topic  Reply to topic
 map data inside the xml tag delimited by | « View previous topic :: View next topic » 
Author Message
ksilpaa
PostPosted: Mon Jul 22, 2002 10:04 am    Post subject: map data inside the xml tag delimited by | Reply with quote

Novice

Joined: 17 Dec 2001
Posts: 10

My format is

<Header>
..
..
...
</Header
<Body>
<rec>xxx|yyy|ss|ss|</rec>
<rec>xxx|yyy|ss|ss|</</rec>
.....
...
....
</Body>



i need to map the data inside the rec tags and send the same.
DO you have any idea how to do this?
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jul 22, 2002 4:53 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

What is your output message format? Do you want to send them as single output message or multiple?

You could first parse the incoming input message as XML. Use Propagte to send data in <rec>....</rec> tags as BLOB messages. Define message format that corresponds to layout in <rec>....</rec> tags in MRM-TDS format. Parse the propagated message using MRM-TDS into required output format.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
ksilpaa
PostPosted: Mon Jul 22, 2002 6:42 pm    Post subject: Reply with quote

Novice

Joined: 17 Dec 2001
Posts: 10

The tags inside the rec are to be mapped to the same type of tagged delimited format
input format

<begin>
<header>
some xml tags

</header>
<Body>
<rec>t1|t2|t3|t4</rec>
<rec>t1|t2|t3|t4</rec>
<rec>t1|t2|t3|t4</rec>
<rec>t1|t2|t3|t4</rec>
<rec>t1|t2|t3|t4</rec>
<rec>t1|t2|t3|t4</rec>
....
.....
</Body>
</begin>

output format

<begin>
<header>
some xml tags

</header>
<Body>
<rec>t2|t1|t4|t3|somevalue1|somevalue2</rec>
<rec>t2|t1|t4|t3|somevalue1|somevalue2</rec>
<rec>t2|t1|t4|t3|somevalue1|somevalue2</rec>
<rec>t2|t1|t4|t3|somevalue1|somevalue2</rec>
</Body>
</begin>

Actually i created the base message set of the for the xml tags and created child message set ( tag delimited ) from that .
i was able to map and get the output but now i have problems when the output format of the rec contains more fields i want to add values and |

Thanks
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jul 22, 2002 6:54 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Have you created two child message sets, one for input and another for output?

If your input message is defined as,
Elements: F1, F2, F3, F4
Delimiter: |

You should define output message as,
elements: F1, F2, F3, F4, F5, F6
Delimiter: |
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » map data inside the xml tag delimited by |
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.