Subject: Re: One var to concat strings, one var to call ext. function From: dkarr@xxxxxxxx (David M. Karr) Date: 13 Nov 2000 08:26:03 -0800 |
>>>>> "Jeni" == Jeni Tennison <mail@xxxxxxxxxxxxxxxx> writes: Jeni> David, >> If I have ten labels, then I need twenty variables. For each pair of >> variables, I really only need the second one. I declared the first >> one because I couldn't figure out how to combine them. Is it possible >> to wrap the "pm:get()" around the "concat()" call so I just have a >> single variable? Jeni> It should be. What problems did you have when you tried it? You Jeni> should be able to use: Jeni> <xsl:variable Jeni> name="niSessionIdLabel" Jeni> select="pm:get(concat('xsl.', $domainClass, '.NISessionId.text'))" /> The problem I had was a brain cramp. This works fine. Thanks. -- =============================================================================== David M. Karr ; dkarr@xxxxxxxx ; w:(425)487-8312 ; TCSI & Best Consulting Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (#12004) XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: One var to concat strings, one , Jeni Tennison | Thread | Using Variables to determine which , Greg Miley |
Re: Passing paramater in Xalan 1.2, Gary L Peskin | Date | What is XPath? Is this a W3C standa, Reich, Eric |
Month |