Michael Sokolov wrote: Hi,
> Isn't it true that in other contexts one can also declare a > namespace prefix in the processing environment that may not be > available in the document itself? For example, in XSLT I think > this is possible, as well as in a Java processor that > implements XPath. I don't think it's something unique to > XQuery, is it? Technically, the in-scope namespaces is a property of the XPath static context. An implementation can provide options to set an initial value for this property (that is, a list of namespaces, and that's the only way to set them in plain XPath 2.0 expressions). The host language can also provide other mechanisms (as XQuery and XSLT do). Regards, -- Florent Georges http://www.fgeorges.org/ _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
