PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
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.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[]
public static  RemoveDuplicateNamespaces(
	 xml
)
Visual Basic (Declaration)Copy imageCopy Code
<> _
Public Shared Function RemoveDuplicateNamespaces ( _
	xml As  _
) As 

Parameters

xml
XmlData
The XML data to remove duplicate namespaces from.

Return Value

Xml

See Also

Advanced