Subject: Re: [xsl] Test expression : Is Context Node an ancestor of node with Id! From: David Carlisle <davidc@xxxxxxxxx> Date: Sat, 19 Feb 2005 16:55:25 GMT |
> and it stop working. Isn't ancestor::Menu[1] and parent::Menu > equivalent since the ancestor axis is going backward? no parent::Menu is ancestor::*[1][self::Menu] ancestor::Menu[1] would return your grandparebt if that was a Menu but your parent was not. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Test expression : Is Cont, António Mota | Thread | RE: [xsl] Test expression : Is Cont, Michael Kay |
[xsl] overriding select in xsl for-, Prasad Akella | Date | RE: [xsl] Test expression : Is Cont, Michael Kay |
Month |