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 » Mapping XML to telex format

Post new topic  Reply to topic
 Mapping XML to telex format « View previous topic :: View next topic » 
Author Message
wilsonho3
PostPosted: Sun Jul 04, 2010 10:45 pm    Post subject: Mapping XML to telex format Reply with quote

Voyager

Joined: 20 Nov 2001
Posts: 98
Location: Hong Kong

Hi, MQ Expert

I am working in airline industry, the airline industry is still using
telex as their communication medium among various applications.
I have such requirement, one of my vendor is using XML to talks
with our existing systems, yet the existing system is using telex
as its message type.

Problem -

If the vendor provide me the XLST, can I use that XLST to translate
to telex format or vice versa.

The format of the telex as following:

Crew Control System - Telex for Load Control System
20100303 20100303 CX037 HKG DXB
CN O WALKER PR
FO O HALL RH
CN JOHNSON C
FO BEST NCDR
JS JIMMY CHAN
JS KM CHAN
NO MR GROOM
NO LISA LAI

the telex template as following :

Telex title
Flt Date / Dep Date / Flt no / Sector
Crew Catg / Operating or Positioning / Crew ID or passenger name


Wilson
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Mon Jul 05, 2010 4:16 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
If the vendor provide me the XLST, can I use that XLST to translate
to telex format or vice versa.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/bz90210_.htm

If the vendor is providing the XSLT, then I don't see why we need to know the output format. What am I missing?

If the XSLT approach doesn't work out for some reason, you could also use the MRM TDS parser to write your non-XML format.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jul 05, 2010 5:45 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

XSLT always has to have an XML message as input. You can't use XSLT to transform non-XML data into XML.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Jul 05, 2010 5:51 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

mqjeff is correct - I missed the 'and vice-versa' in your original post.

I recommend that you create a message set with a TDS physical format. Use XMLNSC for the XML parsing and writing, and MRM TDS for the non-XML parsing and writing.
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 » Mapping XML to telex format
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.