I'm no expert, but maybe
<xsl:value-of select="WBSLServiceData/*[name()=$addorDef]/PostCode"/>
On 10/25/05, Khorasani, Houman <houman_khorasani(_at_)csgsystems(_dot_)com>
wrote:
Hello,
Following problem:
I have a variable called "addorDef". All I need now is to use the value
of this variable within a path for another xsl:value-of.
<xsl:value-of select="WBSLServiceData/$addorDef/PostCode"/>
So a variabel within a variable.
I was thinking to use the { } as a solution.
<xsl:value-of select="WBSLServiceData/{$addorDef}/PostCode"/>
or
<xsl:value-of select="{WBSLServiceData/$addorDef/PostCode}"/>
But none of them works...
What am I missing?
Many Thanks,
Houman
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--