klyn.io.xml.xpath.DOMXPathResult.fromString
method
public static fromString(value as String, requestedType as Int, reusable as XPathResult) as XPathResult throws XPathException:
Description

Builds a result from a string value.

Parameters
ParameterDescription
valueString value.
requestedTypeRequested XPath result type.
reusableOptional reusable result.
Returns

Result object.

Example
result = DOMXPathResult.fromString("ok", XPathResult.STRING_TYPE, null)