xmlunit-core : Org.XmlUnit.Util Namespace

Convert Class

Conversion methods.

Syntax

public static class Convert

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Util
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.7.2.178

Members

See Also: Inherited members from object.

Public Methods

static
ToDocument (this Org.XmlUnit.ISource) : System.Xml.XmlDocument
Creates a DOM Document from an ISource.
static
ToDocument (Org.XmlUnit.ISource, bool) : System.Xml.XmlDocument
Creates a DOM Document from an ISource.
static
ToDocument (Org.XmlUnit.ISource, bool, System.Xml.XmlResolver) : System.Xml.XmlDocument
Creates a DOM Document from an ISource.
static
ToNamespaceContext (IDictionary<string, string>) : System.Xml.XmlNamespaceManager
Creates a namespace resolver from a Map prefix => Namespace URI.
static
ToNode (this Org.XmlUnit.ISource) : System.Xml.XmlNode
Creates a DOM Node from an ISource.

Member Details

ToDocument Method

Creates a DOM Document from an ISource.

Syntax

public static System.Xml.XmlDocument ToDocument (this Org.XmlUnit.ISource s)

Parameters

s
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Util
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.7.2.178

ToDocument Method

Creates a DOM Document from an ISource.

Syntax

public static System.Xml.XmlDocument ToDocument (Org.XmlUnit.ISource s, bool prohibitDTD)

Parameters

s
Documentation for this section has not yet been entered.
prohibitDTD
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Util
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.7.2.178

ToDocument Method

Creates a DOM Document from an ISource.

Syntax

public static System.Xml.XmlDocument ToDocument (Org.XmlUnit.ISource s, bool prohibitDTD, System.Xml.XmlResolver resolver)

Parameters

s
Documentation for this section has not yet been entered.
prohibitDTD
Documentation for this section has not yet been entered.
resolver
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

since XMLUnit 2.6.0

Requirements

Namespace: Org.XmlUnit.Util
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.7.2.178

ToNamespaceContext Method

Creates a namespace resolver from a Map prefix => Namespace URI.

Syntax

public static System.Xml.XmlNamespaceManager ToNamespaceContext (IDictionary<string, string> prefix2URI)

Parameters

prefix2URI
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Util
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.7.2.178

ToNode Method

Creates a DOM Node from an ISource.

Syntax

public static System.Xml.XmlNode ToNode (this Org.XmlUnit.ISource s)

Parameters

s
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Unless the source is a DOMSource this will return the same result as ToDocument.

Requirements

Namespace: Org.XmlUnit.Util
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.7.2.178