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 » Reg: Declaring Global variables in XSL for mapping

Post new topic  Reply to topic
 Reg: Declaring Global variables in XSL for mapping « View previous topic :: View next topic » 
Author Message
chilivenkat
PostPosted: Sun Apr 08, 2012 11:26 pm    Post subject: Reg: Declaring Global variables in XSL for mapping Reply with quote

Newbie

Joined: 08 Apr 2012
Posts: 3

HI,

I would like to know, how to declare global variables in XSL for mapping from front end to back end.

scenario:
As shown in below code, constant values are referred. i want to declare these variables in the beginning and want to use these variables whereever its required in style sheet.

<xsl:attribute name="priceinfo">N</xsl:attribute>
<xsl:attribute name="price strategy">FIX</xsl:attribute>
<xsl:attribute name="pricelock">Y</xsl:attribute>

Help would be Appreciated.

thank u
Back to top
View user's profile Send private message
mapa
PostPosted: Mon Apr 09, 2012 1:06 am    Post subject: Reply with quote

Master

Joined: 09 Aug 2001
Posts: 257
Location: Malmö, Sweden

Do as you normally do in XSL, this is not broker specific. There are loads of tutorials and examples easily found via your favorite search engine.
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Mon Apr 09, 2012 4:33 am    Post subject: Reply with quote

Grand High Poobah

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

If you only plan to use XSLT there are much cheaper ways of doing it than using WMB.

As your site has apparently paid for a WMB license there are much better ways of doing this; a key reason WMB costs more than an XSLT engine.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Apr 09, 2012 5:06 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

It seems we have some students doing xsl homework. This is the third xsl question today.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Apr 09, 2012 5:13 am    Post subject: Reply with quote

Grand High Poobah

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

lancelotlinc wrote:
It seems we have some students doing xsl homework. This is the third xsl question today.


My eyebrow had already raised quizzically at this odd coincidence.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Apr 09, 2012 7:48 pm    Post subject: Reply with quote

Grand High Poobah

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

For some odd reason DataPower comes to mind...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Reg: Declaring Global variables in XSL for mapping
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.