Readonly
ANY_Readonly
ANY_Readonly
BOOLEAN_Readonly
booleanThe read-only booleanValue
property of the The return value is the boolean value of the XPathResult
returned by In case XPathResult.resultType is not BOOLEAN_TYPE
, a The following example shows the use of the booleanValue
property.
Readonly
FIRST_Readonly
invalidThe read-only invalidIteratorState
property of the is true
if XPathResult.resultType is UNORDERED_NODE_ITERATOR_TYPE
or ORDERED_NODE_ITERATOR_TYPE
and the document has been modified since this result was returned.
Readonly
NUMBER_Readonly
numberThe read-only numberValue
property of the The return value is the numeric value of the XPathResult
returned by In case XPathResult.resultType is not NUMBER_TYPE
, a The following example shows the use of the numberValue
property.
Readonly
ORDERED_Readonly
ORDERED_Readonly
resultThe read-only resultType
property of the the type constants.
Readonly
singleThe read-only singleNodeValue
property of the null
in case no node was matched of a result with FIRST_ORDERED_NODE_TYPE
.
Readonly
snapshotThe read-only snapshotLength
property of the snapshot.
Readonly
STRING_Readonly
stringThe read-only stringValue
property of the The return value is the string value of the XPathResult
returned by In case XPathResult.resultType is not STRING_TYPE
, a The following example shows the use of the stringValue
property.
Readonly
UNORDERED_Readonly
UNORDERED_
The
XPathResult
interface represents the results generated by evaluating an XPath expression within the context of a given node.MDN Reference