klyn.io.xml.xpath.DOMXPathEvaluator.createNSResolver
method

    public createNSResolver(nodeResolver as Node) as XPathNSResolver:

Description

Creates a namespace resolver backed by a DOM node.

Parameters

Parameter | Description
--- | ---
`nodeResolver` | Node used as namespace lookup context.

Returns

Namespace resolver.

Example

    resolver = evaluator.createNSResolver(document.documentElement)