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 » need Advice...Dynamic XSL selection

Post new topic  Reply to topic
 need Advice...Dynamic XSL selection « View previous topic :: View next topic » 
Author Message
WMB_DEV
PostPosted: Thu Jul 15, 2010 7:43 am    Post subject: need Advice...Dynamic XSL selection Reply with quote

Novice

Joined: 23 Mar 2010
Posts: 10

I'm trying to do the dynamic selection of XSL files for XMLT transformation..

I'm referring to http://www.ibm.com/developerworks/websphere/library/techarticles/0612_zhang/0612_zhang.html

SET LocalEnvironment.ComIbmXslXmltStylesheetname = '<style sheet name>'; does not work for me...


But the below code works fine ..
SET InputLocalEnvironment.ComIbmXslXmltStylesheetname= '<style sheet name>';

is it the right way of doing it. ..please suggest
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 15, 2010 7:58 am    Post subject: Reply with quote

Grand High Poobah

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

Use
SET OutputLocalEnvironment and make sure the node will allow you to modify LocalEnvironment (check node properties). Don't forget to copy InputLocalEnvironment to OutputLocalEnvironment first though...
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
WMB_DEV
PostPosted: Thu Jul 15, 2010 8:18 am    Post subject: Reply with quote

Novice

Joined: 23 Mar 2010
Posts: 10

Did u mean following:

SET OutputLocalEnvironment = InputLocalEnvironment;

and Then do the below

OutputLocalEnvironment.ComIbmXslXmltStylesheetname= '<style sheet name>';

?
Back to top
View user's profile Send private message
WMB_DEV
PostPosted: Thu Jul 15, 2010 8:30 am    Post subject: Reply with quote

Novice

Joined: 23 Mar 2010
Posts: 10

this works fine for me.. checked the node properties to LocalEnv+Message..
Thanks a lot..
WMB_DEV wrote:
Did u mean following:

SET OutputLocalEnvironment = InputLocalEnvironment;

and Then do the below

OutputLocalEnvironment.ComIbmXslXmltStylesheetname= '<style sheet name>';

?
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 » need Advice...Dynamic XSL selection
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.