[XQuery] what is an "ancestor element constructor"

3.7.4 In-scope Namespaces of a Constructed Element
says:
   "A namespace binding is created for each namespace that is
   declared in a namespace declaration attribute of an ancestor
   element constructor and not overridden by the current
   element constructor or a lower-level ancestor."

Is "ancestor element constructor" used statically, in the
sense of "a syntactially surrounding direct element constructor"?
I assume so, partly because of the reference to "namespace
declaration attribute", and partly because a dynamic meaning of
"ancestor" only problematical.

Perhaps it would be better to replace:
   "an ancestor element constructor and not overridden by the current
   element constructor or a lower-level ancestor"
by some variation of:
   "a [statically] outer [surrounding?] direct element constructor
   and not overridden by the current element constructor or an
   intermediate constructor."
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

Received on Tuesday, 21 December 2004 23:17:17 UTC