Standard Namespaces

From Documentation

Stop.png This documentation is for an older version of ZK. For the latest one, please click here.


As stated before, each set of components is associated with an unique namespace. However, developers might develop or use additional components from 3rd party, so here we list only the namespaces that are shipped with the ZK distribution.


Namespaces
http://www.zkoss.org/2005/zul

The namespace of the XUL component set.

http://www.w3.org/1999/xhtml

The namespace of the XHTML component set.

http://www.zkoss.org/2005/zk

The ZK namespace. It is the reserved namespace for specifying ZK specific elements and attributes.

http://www.zkoss.org/2005/zk/native

The Native namespace. It is the reserved namespace for specifying inline elements.

Refer to the Work with HTML Tags section for details.

http://www.zkoss.org/2005/zk/annotation

The Annotation namespace. It is the reserved namespace for specifying the annotations.

Refer to the Annotations section for details

native:URI-of-another-namespace

Alternative way to specify the Native namespace. With the Native namespace, a XML element in a ZUML page denotes that it shall be sent to the browser directly rather than becoming a ZK component

Refer to the Work with HTML Tags section for details.

It is optional to specify namespaces in ZUML pages, until there are conflicts. ZK determined which namespace to use by examining the extension of a ZUML page. For the .zul and .xul extensions, the namespace of XUL is assumed. For html, xhtml and zhtml, the namespace of XHTML is assumed.



Last Update : 2022/01/19

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.