XPathResult

@native @JSGlobal @JSType
object XPathResult extends Object
Companion:
class
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object

Concrete fields

val ANY_TYPE: Int

A result set containing whatever type naturally results from evaluation of the expression. Note that if the result is a node-set then UNORDERED_NODE_ITERATOR_TYPE is always the resulting type.

A result set containing whatever type naturally results from evaluation of the expression. Note that if the result is a node-set then UNORDERED_NODE_ITERATOR_TYPE is always the resulting type.

A result node-set containing any single node that matches the expression. The node is not necessarily the first node in the document that matches the expression.

A result node-set containing any single node that matches the expression. The node is not necessarily the first node in the document that matches the expression.

val BOOLEAN_TYPE: Int

A result containing a single boolean value. This is useful for example, in an XPath expression using the not() function.

A result containing a single boolean value. This is useful for example, in an XPath expression using the not() function.

A result node-set containing the first node in the document that matches the expression.

A result node-set containing the first node in the document that matches the expression.

val NUMBER_TYPE: Int

A result containing a single number. This is useful for example, in an XPath expression using the count() function.

A result containing a single number. This is useful for example, in an XPath expression using the count() function.

A result node-set containing all the nodes matching the expression. The nodes in the result set are in the same order that they appear in the document.

A result node-set containing all the nodes matching the expression. The nodes in the result set are in the same order that they appear in the document.

A result node-set containing snapshots of all the nodes matching the expression. The nodes in the result set are in the same order that they appear in the document.

A result node-set containing snapshots of all the nodes matching the expression. The nodes in the result set are in the same order that they appear in the document.

val STRING_TYPE: Int

A result containing a single string.

A result containing a single string.

A result node-set containing all the nodes matching the expression. The nodes may not necessarily be in the same order that they appear in the document.

A result node-set containing all the nodes matching the expression. The nodes may not necessarily be in the same order that they appear in the document.

A result node-set containing snapshots of all the nodes matching the expression. The nodes may not necessarily be in the same order that they appear in the document.

A result node-set containing snapshots of all the nodes matching the expression. The nodes may not necessarily be in the same order that they appear in the document.