Shouldn't that be self::define?
not if you are asking if the nearest such ancestor is a choice
then 'requires' there be a choice nearer the document root.
no we're in ancestor axis step so [1] means nearer the ref element.
Since I now know that choice is never an ancestor of define,
in which case Ken's version works as you can't have
define
choice
define
ref
David
--
The LaTeX Companion
http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________