A namespace declaration's scope is the element where it occurs.
There is no different between declarations on the root element and elsewhere.
The element, its attributes, and its children may use that prefix in their names.
You can re-define a prefix to point to a different namespace.