Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Sets an attribute on the current node to the specified value on specified namespace URI.s

void myXml.SetAttributeNS(namespaceUri: string, attributeName: string, attributeValue: string)

Arguments

string namespaceUri
Specifies the attribute namespace URI
string attributeName
Specifies the name of attribute.
string attributeValue
Specifies the value of attribute.

Remarks

If attribute does not exist, it is created automatically.

Example

Code Block
languagejs
$Xml.SetAttributeNS('urn:Tempuri', 'Name', 'John');