Subject: Re: Immediate uncle
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 5 Sep 2005 13:40:30 +0100
|
..[foo]
isn't legal. If it were legal it would mean the same as
parent::node()[foo]
which is legal but selects parents for which foo is true.
parent::node()[following-sibling::*[1]]"
would select your parent if you had an uncle.
But you want your uncle, so that's
parent::node()/[following-sibling::*[1]]"
or
../following-sibling::*[1]
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
________________________________________________________________________
|