Saxon API for .NET

XPathSelector.ContextItem Property

The context item for the XPath expression evaluation.

public XdmItem ContextItem {get; set;}

Remarks

This may be either a node or an atomic value. Most commonly it will be a document node, which might be constructed using the Build method of the DocumentBuilder object.

See Also

XPathSelector Class | Saxon.Api Namespace