Author |
Message
|
chilivenkat |
Posted: Sun Apr 08, 2012 11:26 pm Post subject: Reg: Declaring Global variables in XSL for mapping |
|
|
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 |
|
 |
mapa |
Posted: Mon Apr 09, 2012 1:06 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Mon Apr 09, 2012 4:33 am Post subject: |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Mon Apr 09, 2012 5:06 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 09, 2012 5:13 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Mon Apr 09, 2012 7:48 pm Post subject: |
|
|
 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 |
|
 |
|