Skip to content

RemoveNamespace

Removes the prefix for the specified namespace URI.

1
myXml.RemoveNamespace(prefix: string, ns: string):void

Parameters

string prefix
    The prefix to unregister.

string ns
    The namespace URI to unregister.

Examples

Unregister a prefix

1
$Xml.RemoveNamespace('tmp', 'http://tempuri.org/');