SetAttributeNS (NotesDOMElementNode - LotusScript®)

Adds a new attribute given its namespace and qualified name.

Note: This method is new with Release 7.

Defined in

NotesDOMElementNode

Syntax

Call notesDOMElementNode .SetAttributeNS( namespaceURI , qualifiedName , attributeValue )

Parameters

namespaceURI

String. The namespace URI of a qualified name.

qualifiedName

String. A qualified name, or the local part of a qualified name.

attributeValue

String. The value to use.

Usage

Sets NodeName to qualifiedName. Sets LocalName to the local part of qualifiedName. Sets NamespaceURI to namespaceURI. Sets Prefix to the prefix part of qualifiedName, or an empty string if only the local part is specified. In the latter case, you must explicitly set Prefix.

See NamespaceURI for a discussion of namespaces and qualified names.

Refer to http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-qualnames for the W3C specification on qualified names. Refer to http://www.w3.org/TR/2001/WD-DOM-Level-3-Core-20010605/glossary.html#dt-qualifiedname for a definition.