xsl-list
[Top] [All Lists]

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

2007-04-19 11:36:19
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






















      
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.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>
--~--