Table of Contents

RemoveXmlNamespaceDeclarations Method

Definition

Namespace
Cuemon.Extensions.Xml
Assemblies
Cuemon.Extensions.Xml.dll
Source
src/Cuemon.Extensions.Xml/StreamExtensions.cs

RemoveXmlNamespaceDeclarations(Stream, Action<XmlWriterSettings>)

Remove the XML namespace declarations from the specified value.

public static Stream RemoveXmlNamespaceDeclarations(this Stream value, Action<XmlWriterSettings> setup = null)

Parameters

value Stream

The XML Stream to extend.

setup Action<XmlWriterSettings>

The XmlWriterSettings which may be configured.

Returns

Stream

A Stream object representing the specified value, but with no namespace declarations.