Re: [xsl] XSLT recursive template to check grand parent

Subject: Re: [xsl] XSLT recursive template to check grand parent
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Thu, 19 Apr 2007 20:35:58 +0200 (CEST)
David Carlisle wrote:

  Hi

>   <xsl:if test="ancestor::$parent[2]"> <!-- it gives error here -->

> if parent is a node the line that you show would not cause an error

  Are you sure?  An axis followed by a variable reference?

  Regards,

--drkm






















      
___________________________________________________________________________ 
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions ! 
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses 
http://fr.answers.yahoo.com

Current Thread