Performs XML normalization on a given ISource or DOM Node.
This means adjacent text nodes are merged to single nodes and empty Text nodes removed (recursively). See the linked API docs for details.
When reading documents a parser usually puts the document into normalized form anway. You will only need to perform XML normalization on DOM trees you have created programmatically.
https://msdn.microsoft.com/en-us/library/system.xml.xmlnode.normalize%28v=vs.110%29.aspx
See Also: Inherited members from object.
|
Creates a new Source with the same content as another source normalizing the document. | |
|
Creates a new Source wrapping a XmlNode after normalizing it. | |
|
Creates a new Source wrapping a XmlNode after normalizing it. |
[read-only] | Node | System.Xml.XmlNode . The node this source is wrapping |
[read-only] | Reader | System.Xml.XmlReader . Documentation for this section has not yet been entered. |
|
SystemId | string . Documentation for this section has not yet been entered. |
static
|
Singleton<T>
(this T)An enumerable containing a single element. |
|
static
|
ToDocument
(this Org.XmlUnit.ISource)Creates a DOM Document from an ISource. |
|
static
|
ToNode
(this Org.XmlUnit.ISource)Creates a DOM Node from an ISource. |
Creates a new Source with the same content as another source normalizing the document.Syntax
public NormalizedSource (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.9.2.240
Creates a new Source wrapping a XmlNode after normalizing it.Syntax
public NormalizedSource (System.Xml.XmlNode node)Parameters
- node
- 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.9.2.240
Creates a new Source wrapping a XmlNode after normalizing it.Syntax
public NormalizedSource (System.Xml.XmlNode node, string systemId)Parameters
- node
- source with the original content
- systemId
- the systemId to use
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.9.2.240
Documentation for this section has not yet been entered.Syntax
public void Dispose ()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.9.2.240
Documentation for this section has not yet been entered.Syntax
Parameters
- disposing
- Documentation for this section has not yet been entered.
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.9.2.240
The node this source is wrappingSyntax
public System.Xml.XmlNode Node { get; }Value
Documentation for this section has not yet been entered.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.9.2.240
Documentation for this section has not yet been entered.Syntax
public System.Xml.XmlReader Reader { get; }Value
Documentation for this section has not yet been entered.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.9.2.240
Documentation for this section has not yet been entered.Syntax
public string SystemId { get; set; }Value
Documentation for this section has not yet been entered.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.9.2.240
Documentation for this section has not yet been entered.Syntax
public override string ToString ()Returns
Documentation for this section has not yet been entered.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.9.2.240