Table of Contents

Namespace Cuemon.Extensions.Xml

Assembly: Cuemon.Extensions.Xml.dll

The Cuemon.Extensions.Xml namespace contains extension methods that complements the Cuemon.Xml namespace while being an addition to the System.Xml namespace.

Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0

Complements: Cuemon.Xml namespace 📘

Extension Methods

Type Ext Methods
byte[] ⬇️ ToXmlReader
DateTime ⬇️ ToString
IHierarchy{T} ⬇️ HasXmlIgnoreAttribute, IsNodeEnumerable, GetXmlQualifiedEntity, OrderByXmlAttributes
Stream ⬇️ ToXmlReader, CopyXmlStream, TryDetectXmlEncoding, RemoveXmlNamespaceDeclarations
String ⬇️ EscapeXml, UnescapeXml, SanitizeXmlElementName, SanitizeXmlElementText
Uri ⬇️ ToXmlReader
XmlReader ⬇️ Chunk, ToHierarchy, ToStream, MoveToFirstElement
XmlWriter ⬇️ WriteObject, WriteObject{T}, WriteStartElement, WriteEncapsulatingElementWhenNotNull{T}, WriteXmlRootElement{T}

Classes

ByteArrayExtensions

Extension methods for the byte[].

DateTimeExtensions

Extension methods for the System.DateTime struct.

HierarchyExtensions

Extension methods for the IHierarchy<T> interface.

StreamExtensions

Extension methods for the System.IO.Stream class.

StringExtensions

Extension methods for the System.String class.

UriExtensions

Extension methods for the System.Uri class.

XmlCopyOptions

Configuration options for System.Xml.XmlWriter.

XmlReaderExtensions

Extension methods for the System.Xml.XmlReader class.

XmlWriterExtensions

Extension methods for the System.Xml.XmlWriter class.