|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Binding a variable within a "value-of select"
I'm no expert, but maybe
<xsl:value-of select="WBSLServiceData/*[name()=$addorDef]/PostCode"/>
On 10/25/05, Khorasani, Houman <houman_khorasani@xxxxxxxxxxxxxx> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








