xmlunit-core : Org.XmlUnit.Diff Namespace

RecursiveXPathBuilder Class

Finds the XPathContext of a Node by recursively building up the XPathContext.

Syntax

public class RecursiveXPathBuilder

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240

Members

See Also: Inherited members from object.

Public Constructors

Documentation for this section has not yet been entered.

Public Properties

[write-only]
NamespaceContext IDictionary<string, string> . Establish a namespace context mapping from prefix to URI that will be used in Comparison.Detail.XPath.

Public Methods

Map (System.Xml.XmlNode) : XPathContext
Maps a node to an XPathContext by recursing the DOM tree towards the root node.

Extension Methods

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

Member Details

RecursiveXPathBuilder Constructor

Documentation for this section has not yet been entered.

Syntax

public RecursiveXPathBuilder ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240

Map Method

Maps a node to an XPathContext by recursing the DOM tree towards the root node.

Syntax

Parameters

n
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.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240

NamespaceContext Property

Establish a namespace context mapping from prefix to URI that will be used in Comparison.Detail.XPath.

Syntax

public IDictionary<string, string> NamespaceContext { set; }

Value

Documentation for this section has not yet been entered.

Remarks

Without a namespace context (or with an empty context) the XPath expressions will only use local names for elements and attributes.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240