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 Transformation Node-choosing a stylesheet dynamically

Post new topic  Reply to topic
 XML Transformation Node-choosing a stylesheet dynamically « View previous topic :: View next topic » 
Author Message
waugh
PostPosted: Mon May 10, 2004 11:02 am    Post subject: XML Transformation Node-choosing a stylesheet dynamically Reply with quote

Master

Joined: 19 Feb 2004
Posts: 225

The XML Transformation Node worked fine if i do it from node configuration properties. How do we do that dynamically?

Documentation says you need to set value to ComXmlxsltStylesheet element in OutputLocalEnvironment tree using a compute node before this node...

say the file name is in my incoming XML in an elemnt called myxsl.

<myxsl>hello.xsl</myxsl>

how do i assign this value to the ComXmlxslstylesheet element in outputenvironment tree?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon May 10, 2004 11:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Have you considered using the 'set' statement?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
waugh
PostPosted: Mon May 10, 2004 11:19 am    Post subject: Reply with quote

Master

Joined: 19 Feb 2004
Posts: 225

Yes, i tried two versions of it...

SET OutputLocalEnvironment.ComIbmXslXmltStylesheetname = 'C:\XSLT\hello.xsl';

and

SET OutputLocalEnvironment.ComIbmXslXmltStylesheetname = 'hello.xsl';

+ Setting the Stylesheet Directory in properties of the Node...

both of them didnt work....

Is that how its supposed to set?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon May 10, 2004 11:23 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Did you configure the compute node to pass the local environment?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
waugh
PostPosted: Mon May 10, 2004 11:36 am    Post subject: Reply with quote

Master

Joined: 19 Feb 2004
Posts: 225

creeeeeeeeeeeeech!!!

that is what it was!!!

Thanks a lot jeff
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 Transformation Node-choosing a stylesheet dynamically
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.