Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
HTML and CSS
Methods
 add Method
add Method

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

Syntax

oNamespace = object.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

namespaces, HTMLNamespaceInfoCollection Constructor

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker