public static fromString(value as String, requestedType as Int, reusable as XPathResult) as XPathResult throws XPathException:
Builds a result from a string value.
| Parameter | Description |
|---|---|
value | String value. |
requestedType | Requested XPath result type. |
reusable | Optional reusable result. |
Result object.
result = DOMXPathResult.fromString("ok", XPathResult.STRING_TYPE, null)