xsl-list
[Top] [All Lists]

Re: How can I create a variable with a variable access path?

2005-12-06 08:18:02

This construct is not possible. The {....} syntax is for attributes.

Is there any easy way of making it work other than creating a complete
choose/when/ with static language selection?

Use:
<xsl:value-of select="$AllTexts/*[name()=$language]/searchButton"/>

Thanks a lot. Just what I need. And I would have never thought of
trying this obvoious-once-you-see-it construct.

Did I already mention how thankful I am for getting so much help from
this list?

--
Ferdinand Soethe


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--