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 9, .NET 8 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 DateTime struct.

HierarchyExtensions

Extension methods for the IHierarchy<T> interface.

StreamExtensions

Extension methods for the Stream class.

StringExtensions

Extension methods for the String class.

UriExtensions

Extension methods for the Uri class.

XmlCopyOptions

Configuration options for XmlWriter.

XmlReaderExtensions

Extension methods for the XmlReader class.

XmlWriterExtensions

Extension methods for the XmlWriter class.