|
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XSLT recursive template t, David Carlisle | Thread | Re: [xsl] XSLT recursive template t, David Carlisle |
| Re: [xsl] Proposed syntax for names, Abel Braaksma | Date | [xsl] Constructing a tree from leaf, Simon Shutter |
| Month |