Liking cljdoc? Tell your friends :D

web.xpath.XPathResult

The XPathResult interface represents the results generated by an XPath expression within the context of a given node.

The XPathResult interface represents the results generated by
an XPath expression within the context of a given node.
raw docstring

boolean-valuecljs

(boolean-value this)

Property.

[Read Only]

The read-only booleanValue property of the web.xpath.XPathResult returns the boolean value of a result with XPathResult.resultType BOOLEAN_TYPE.

var value = result.booleanValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/booleanValue

Property.

[Read Only]

The read-only booleanValue property of the `web.xpath.XPathResult`
returns the boolean value of a result with `XPathResult.resultType`
BOOLEAN_TYPE.

`var value = result.booleanValue;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/booleanValue`
sourceraw docstring

invalid-iterator-statecljs

(invalid-iterator-state this)

Property.

[Read Only]

The read-only invalidIteratorState property of the web.xpath.XPathResult signifies that the iterator has become invalid. It is true if is UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE the document has been modified since this result was returned.

var iteratorState = result.invalidIteratorState;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/invalidIteratorState

Property.

[Read Only]

The read-only invalidIteratorState property of the `web.xpath.XPathResult`
signifies that the iterator has become invalid. It is true if
is UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE
the document has been modified since this result was returned.

`var iteratorState = result.invalidIteratorState;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/invalidIteratorState`
sourceraw docstring

iterate-nextcljs

(iterate-next this)

Method.

The iterateNext() method of the web.xpath.XPathResult interface over a node set result and returns the next node from it or null there are no more nodes.

var node = result.iterateNext();

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/iterateNext

Method.

The iterateNext() method of the `web.xpath.XPathResult` interface
over a node set result and returns the next node from it or null
there are no more nodes.

`var node = result.iterateNext();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/iterateNext`
sourceraw docstring

number-valuecljs

(number-value this)

Property.

[Read Only]

The read-only numberValue property of the web.xpath.XPathResult returns the numeric value of a result with XPathResult.resultType NUMBER_TYPE.

var value = result.numberValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/numberValue

Property.

[Read Only]

The read-only numberValue property of the `web.xpath.XPathResult`
returns the numeric value of a result with `XPathResult.resultType`
NUMBER_TYPE.

`var value = result.numberValue;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/numberValue`
sourceraw docstring

result-typecljs

(result-type this)

Property.

[Read Only]

The read-only resultType property of the web.xpath.XPathResult represents the type of the result, as defined by the type constants.

var resultType = result.resultType;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/resultType

Property.

[Read Only]

The read-only resultType property of the `web.xpath.XPathResult`
represents the type of the result, as defined by the type constants.

`var resultType = result.resultType;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/resultType`
sourceraw docstring

single-node-valuecljs

(single-node-value this)

Property.

[Read Only]

The read-only singleNodeValue property of the web.xpath.XPathResult returns a web.Node value or null in case no node was matched a result with XPathResult.resultType being ANY_UNORDERED_NODE_TYPE FIRST_ORDERED_NODE_TYPE.

var value = result.singleNodeValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/singleNodeValue

Property.

[Read Only]

The read-only singleNodeValue property of the `web.xpath.XPathResult`
returns a `web.Node` value or null in case no node was matched
a result with `XPathResult.resultType` being ANY_UNORDERED_NODE_TYPE
FIRST_ORDERED_NODE_TYPE.

`var value = result.singleNodeValue;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/singleNodeValue`
sourceraw docstring

snapshot-itemcljs

(snapshot-item this i)

Method.

The snapshotItem() method of the web.xpath.XPathResult interface an item of the snapshot collection or null in case the index not within the range of nodes. Unlike the iterator result, the does not become invalid, but may not correspond to the current if it is mutated.

var node = result.snapshotItem(i);

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotItem

Method.

The snapshotItem() method of the `web.xpath.XPathResult` interface
an item of the snapshot collection or null in case the index
not within the range of nodes. Unlike the iterator result, the
does not become invalid, but may not correspond to the current
if it is mutated.

`var node = result.snapshotItem(i);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotItem`
sourceraw docstring

snapshot-lengthcljs

(snapshot-length this)

Property.

[Read Only]

The read-only snapshotLength property of the web.xpath.XPathResult represents the number of nodes in the result snapshot.

var snapshotLength = result.snapshotLength;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotLength

Property.

[Read Only]

The read-only snapshotLength property of the `web.xpath.XPathResult`
represents the number of nodes in the result snapshot.

`var snapshotLength = result.snapshotLength;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotLength`
sourceraw docstring

string-valuecljs

(string-value this)

Property.

[Read Only]

The read-only stringValue property of the web.xpath.XPathResult returns the string value of a result with XPathResult.resultType STRING_TYPE.

var value = result.stringValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/stringValue

Property.

[Read Only]

The read-only stringValue property of the `web.xpath.XPathResult`
returns the string value of a result with `XPathResult.resultType`
STRING_TYPE.

`var value = result.stringValue;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/stringValue`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close