Creates a new namespace object and adds it to the collection.
Syntax
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.
Standards Information
There is no public standard that applies to this method.
Applies To
See Also
Introduction to Viewlink, About Element Behaviors