HBCMS更多的中文手册参考:

add Method

DHTML文档教程

Creates a new namespace object and adds it to the collection.

dhtml语法

onamespace = namespaces.add(snamespace, surn [, surl])

parameters

sNamespace Required. String that specifies the name of the namespace.
sUrn Required. String that specifies the Uniform Resource Name (URN) of the namespace to create.
sUrl Optional. String that specifies the URL of the element behavior to import into the namespace. Specifying this parameter is the same as calling the doImport method.

Return Value

Returns a namespace object.

Remarks

Adding a new namespace with the same name as an existing namespace will replace the existing namespace.

是否符合公共标准

There is no public standard that applies to this method.

Applies To

namespaces

更多语法参考

introduction to viewlink, About Element Behaviors