xmlunit-core : Org.XmlUnit.Xpath Namespace

IXPathEngine Interface

Interface for XMLUnit's XPath abstraction.

Syntax

public interface IXPathEngine

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Members

Public Properties

[write-only]
NamespaceContext IDictionary<string, string> . Establish a namespace context - maps from prefix to namespace URI.

Public Methods

Evaluate (string, Org.XmlUnit.ISource) : string
Evaluates an XPath expression and stringifies the result.
Evaluate (string, System.Xml.XmlNode) : string
Evaluates an XPath expression and stringifies the result.
SelectNodes (string, Org.XmlUnit.ISource) : IEnumerable<System.Xml.XmlNode>
Returns a potentially empty collection of Nodes matching an XPath expression.
SelectNodes (string, System.Xml.XmlNode) : IEnumerable<System.Xml.XmlNode>
Returns a potentially empty collection of Nodes matching an XPath expression.

Extension Methods

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

Member Details

Evaluate Method

Evaluates an XPath expression and stringifies the result.

Syntax

public string Evaluate (string xPath, Org.XmlUnit.ISource s)

Parameters

xPath
Documentation for this section has not yet been entered.
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.Xpath
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240

Evaluate Method

Evaluates an XPath expression and stringifies the result.

Syntax

public string Evaluate (string xPath, System.Xml.XmlNode n)

Parameters

xPath
Documentation for this section has not yet been entered.
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.Xpath
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240

NamespaceContext Property

Establish a namespace context - maps from prefix to namespace URI.

Syntax

public IDictionary<string, string> NamespaceContext { 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.Xpath
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240

SelectNodes Method

Returns a potentially empty collection of Nodes matching an XPath expression.

Syntax

Parameters

xPath
Documentation for this section has not yet been entered.
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.Xpath
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240

SelectNodes Method

Returns a potentially empty collection of Nodes matching an XPath expression.

Syntax

Parameters

xPath
Documentation for this section has not yet been entered.
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.Xpath
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240