This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: One var to concat strings, one var to call ext. function
- To: dkarr at tcsi dot com ((David M. Karr))
- Subject: Re: One var to concat strings, one var to call ext. function
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Mon, 13 Nov 2000 09:49:34 +0000
- CC: xsl-list at mulberrytech dot com
- Organization: Jeni Tennison Consulting Ltd
- References: <uyvgtvim9r.fsf@tcsi.com>
- Reply-To: xsl-list at mulberrytech dot com
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?
It should be. What problems did you have when you tried it? You
should be able to use:
<xsl:variable
name="niSessionIdLabel"
select="pm:get(concat('xsl.', $domainClass, '.NISessionId.text'))" />
I hope that helps,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list