Removes duplicate namespace declarations from the given Xml. Duplicate namespace declarations are not illegal, but superfluous, and cause the string representation of the Xml to be larger than needed.
Syntax
Smartsite SXML | Copy Code |
---|---|
xml xml.removeduplicatenamespaces(xml xml) |
Parameters
Name | Data Type | Description |
---|---|---|
xml | XML | The XML data to remove duplicate namespaces from. |
Return Value
Data Type | Description |
---|---|
XML | Xml |