Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

$Xml.SetAttributeNS('urn:Tempuri', 'Name', 'John');
  • No labels