Subject: Re: [xsl] Testing for parent node From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Fri, 30 Dec 2011 14:51:53 +0100 |
This answer was perfect when the node I was fixed on was Calculation.
<xsl:when test="parent::Field">53</xsl:when>
But going one level deeper and fixing myself on the Chunk nodes I can't seem to find a way to determine if it is within a Field, AutoEnter or Validation node.
Here are the things I tried so far
<xsl:when test="../parent::Field">53</xsl:when> <xsl:when test="ancestor::Field">53</xsl:when>
Any ideas here.
Martin Honnen --- MVP Data Platform Development http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Testing for parent node, Vincenzo Menanno | Thread | [xsl] Testing for parent/parent nod, Vincenzo Menanno |
Re: [xsl] Testing for parent node, Vincenzo Menanno | Date | [xsl] Testing for parent/parent nod, Vincenzo Menanno |
Month |