Xml.SetAttributeNS
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');
Copyright © 2010 - 2023 Emakin. All rights reserved.