xmlunit-core : Org.XmlUnit.Input Namespace

XmlElementContentWhitespaceStrippedSource Class

A source that is obtained from a different source by removing all text nodes that only contain whitespace.

Syntax

public class XmlElementContentWhitespaceStrippedSource : DOMSource

Remarks

Unlike Org.XmlUnit.Input.ElementContentWhitespaceStrippedSource this class uses XML's idea of whitespace rather than the more extensive set considered whitespace by Unicode.

since XMLUnit 2.10.0

Requirements

Namespace: Org.XmlUnit.Input
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241

Members

See Also: Inherited members from DOMSource.

Public Constructors

Creates a new source that consists of the given source with all text nodes that only contain whitespace stripped.

Public Properties

[read-only]
Node System.Xml.XmlNode . The node this source is wrapping (Inherited from DOMSource.)
[read-only]
Reader System.Xml.XmlReader . Documentation for this section has not yet been entered. (Inherited from AbstractSource.)
SystemId string . Documentation for this section has not yet been entered. (Inherited from AbstractSource.)

Public Methods

Dispose ()
Documentation for this section has not yet been entered. (Inherited from AbstractSource.)
override
ToString () : string
Documentation for this section has not yet been entered. (Inherited from AbstractSource.)

Protected Methods

Dispose (bool)
Documentation for this section has not yet been entered. (Inherited from AbstractSource.)

Extension Methods

static
Singleton<T> (this T) : IEnumerable<T>
An enumerable containing a single element.

Member Details

XmlElementContentWhitespaceStrippedSource Constructor

Creates a new source that consists of the given source with all text nodes that only contain whitespace stripped.

Syntax

public XmlElementContentWhitespaceStrippedSource (Org.XmlUnit.ISource originalSource)

Parameters

originalSource
source with the original content

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Input
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241