Subject: Re: Testing for parent node
From: Vincenzo Menanno <enzo13@xxxxxxx>
Date: Fri, 30 Dec 2011 04:45:50 -0800
|
Yes that is it - thanks
On Dec 30, 2011, at 4:13 AM, Martin Honnen wrote:
> Vincenzo Menanno wrote:
>
>> <xsl:variable name="from">
>> <xsl:choose>
>> <xsl:when test="../parent='Field'">53</xsl:when>
>
> You want
> <xsl:when test="parent::Field">53</xsl:when>
> and so on.
>
>> <xsl:when test="../parent='AutoEnter'">54</xsl:when>
>> <xsl:when test="../parent='Validation'">55</xsl:when>
>> </xsl:choose>
>> </xsl:variable>
>
> --
>
> Martin Honnen --- MVP Data Platform Development
> http://msmvps.com/blogs/martin_honnen/
|