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 » XML Mapping editor in Message Broker 7

Post new topic  Reply to topic
 XML Mapping editor in Message Broker 7 « View previous topic :: View next topic » 
Author Message
mictian
PostPosted: Fri Dec 04, 2009 1:14 pm    Post subject: XML Mapping editor in Message Broker 7 Reply with quote

Newbie

Joined: 04 Dec 2009
Posts: 3

Hi,
I'm new to Message broker and XML mapping. I'm trying to use Message broker 7 XML mapping tool to generate XSLT. I have both source XSD and target XSD. What I want to achive is to use mapping editor in Broker 7 to generate XSLT which will then be used in transformation node. My questions are:
1) Is there good tutorial to show me how to do the complicated mappings to generate XSLT for Message broker 7?
2) Are there any Free alternative tools(easy to learn to do complicated mapping) to generate XSLT?

Thanks in Advance
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Dec 04, 2009 1:30 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

I assume you're using the Mapping node. It's not specifically an XML mapping node - it can map any message tree, regardless of the original format of the data.

The Mapping node does not generate XSLT - or any other code which can be reused outside of message broker. You can do XSLT transformations within message broker, though - check out the XSLTransform node.
Back to top
View user's profile Send private message
mictian
PostPosted: Fri Dec 04, 2009 1:41 pm    Post subject: Reply with quote

Newbie

Joined: 04 Dec 2009
Posts: 3

Thanks kimbert for your prompt reply.
I'm going to use XSLT transformation node which requires XSLT supplied not mapping node. That's why I'm trying to use borker mapping eidtor to generate XSL. The reason to use transformation node instead of mapping node is because I want to reuse the XSLT later for other application.

Thanks
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Dec 04, 2009 2:03 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Maybe I'm being dim-witted, but this is the part that I don't understand:
Quote:
That's why I'm trying to use borker mapping eidtor to generate XSL
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Dec 04, 2009 2:15 pm    Post subject: Reply with quote

Grand High Poobah

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

mictian wrote:
That's why I'm trying to use borker mapping eidtor to generate XSL.


AFAIK you can't.

mictian wrote:
The reason to use transformation node instead of mapping node is because I want to reuse the XSLT later for other application.


If you've got WMB on site, why have another application do transformations? Note that using a mapping node is more efficient than an XSLT node.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Dec 04, 2009 2:34 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Note that using a mapping node is more efficient than an XSLT node.
Not always true. It depends whether the XSLTransform node is operating on the unchanged input message and/or generating the final output bitstream.
As always in these 'which transformation option should I use' debates, the answer is 'the correct one for your requirements'.
Back to top
View user's profile Send private message
mictian
PostPosted: Fri Dec 04, 2009 2:37 pm    Post subject: Reply with quote

Newbie

Joined: 04 Dec 2009
Posts: 3

Thanks all for your help.
Ahthough mapping node is more efficient, I need this XSLT for other application as well(data pump....). Since I already have WMB so I try to use WMB's XML mapping function to map source and target XSD to generate XSLT. So back to my original question;
1)Is there any good tutorial/exmaple to show me how to use WMB 7 to generate XSLT by using XML mapping editor for complicated mappingboth source and target? The logic behand (source and target xsd) mapping is not just drag connection, more logic involved so I need some good examples/tutorials for that.
2)Is ther any alternative free tool(used to do complicate mapping) to generate XSLT from source and target XSD?
3)Any other suggestions?

Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Dec 04, 2009 2:37 pm    Post subject: Reply with quote

Grand High Poobah

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

kimbert wrote:
Quote:
Note that using a mapping node is more efficient than an XSLT node.
Not always true. It depends whether the XSLTransform node is operating on the unchanged input message and/or generating the final output bitstream.
As always in these 'which transformation option should I use' debates, the answer is 'the correct one for your requirements'.


I stand corrected.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 04, 2009 3:25 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

kimbert wrote:
I assume you're using the Mapping node. It's not specifically an XML mapping node - it can map any message tree, regardless of the original format of the data.

The Mapping node does not generate XSLT - or any other code which can be reused outside of message broker. You can do XSLT transformations within message broker, though - check out the XSLTransform node.

To elaborate on Kimbert's answer to your question

AFAIK you cannot generate XSLT using the message broker toolkit.
You can USE XSLT that you ALREADY have in the XSLTransform node.

You will have to look to other tools for generating an XSLT document.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
seeknee
PostPosted: Mon May 03, 2010 8:34 pm    Post subject: Not sure if this has already been answered Reply with quote

Apprentice

Joined: 08 Aug 2002
Posts: 41
Location: Melbourne, Australia

Yes it is possible to use the xml mapping editor to generate xslt in broker 7

File/New/Other/XML/XML Mapping

Do your mapping then press generate XSLT script

Hopefully this helps

Cheers
_________________
IBM Certified Specialist MQSeries
IBM Certified Specialist WebSphere MQ Integrator
IBM Certified Solution Designer WebSphere Business Integration Message Broker V5

"Good judgement comes from experience, and experience comes from poor judgement"
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue May 04, 2010 2:01 am    Post subject: Re: Not sure if this has already been answered Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

seeknee wrote:
Yes it is possible to use the xml mapping editor to generate xslt in broker 7

File/New/Other/XML/XML Mapping

Do your mapping then press generate XSLT script


Excellent tip!

But to the rest of the viewers, this is *NOT* the Mapping node mapping editor. It's a separate editor supplied with the RAD components that Toolkit is based on.
Back to top
View user's profile Send private message
n1ghtrain
PostPosted: Tue May 11, 2010 11:31 pm    Post subject: Reply with quote

Apprentice

Joined: 23 Mar 2006
Posts: 48
Location: Bangalore

Sorry for reopening this..

I remember using the XML Mapping editor for generating XSL in a WMB 6.1 version toolkit and also in WID and RAD. But somehow this editor is missing in the WMB 7 version that I am having. (In the "Select Wizard" window under "XML" i only have DTD, XML, XML Schema, XSL now.)

Quote:
WebSphere Message Broker Toolkit - Message Broker

Version: 7.0.0
Build id: 7.0.0-20091028_2100


any of the folks here know more about this.
Back to top
View user's profile Send private message Yahoo Messenger
mqjeff
PostPosted: Wed May 12, 2010 4:26 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

File->New->Other

Expand the XML Folder.

Choose XML Map.

Works for me on 7.0 toolkit.

Version: 7.0.0
Build id: 7.0.0-IFix-20100308_1835

If you don't see XML Map as an option, then go to Window->Preferences->General->Capabilities and enable all capabilities. Then try again.
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 » XML Mapping editor in Message Broker 7
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.