by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)


Name

default namespace — Default namespace declaration

Synopsis

"default" "namespace" [
identifierOrKeyword] "=" 
namespaceURILiteral

Restrictions

decl

XML syntax equivalent

xmlns

Description

The default namespace declaration defines the default namespace for the compact syntax-like xmlns attributes in XML. An optional prefix may be assigned to the default namespace and can then be explicitly referenced. Unlike XML default namespace declarations, declarations for the RELAX NG compact syntax in general (and default namespace declarations in particular) are global to a schema and can't be redefined. A prefix can be assigned to no namespace at all using the value "".

Example

default namespace = "http://eric.van-der-vlist.com/ns/library"
default namespace local = ""

This text is released under the Free Software Foundation GFDL.