> > 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).

+1

It is much alike MarkLogic Server allowing you to predeclare namespaces, 
schema's and such from it's Administrative interface, which can be seen as 
*outside* the scope of XQuery (even though it is mostly implemented in Xquery 
;)..

Kind regards,
Geert


drs. G.P.H. (Geert) Josten
Consultant


Daidalos BV
Hoekeindsehof 1-4
2665 JZ Bleiswijk

T +31 (0)10 850 1200
F +31 (0)10 850 1199

mailto:[email protected]
http://www.daidalos.nl/

KvK 27164984

P Please consider the environment before printing this mail.
De informatie - verzonden in of met dit e-mailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to