Click or drag to resize
XmlHelperReplaceNamespaceColon Method
Replaces the namespace colons (:) in the XML from the input XML reader with the dash (-) and writes the resulting XML using the output XML writer. E.g. atom:item element is translated to atom-item element.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static void ReplaceNamespaceColon(
	XmlReader inputReader,
	XmlWriter outputWriter
)

Parameters

inputReader
Type: System.XmlXmlReader
Input XML reader
outputWriter
Type: System.XmlXmlWriter
Output XML writer
See Also