class

XPath2::Expr

Inherits Reference < Object

Expr is an XPath expression for Query

Constructors

new(s : String, q : Query)
Source

Instance methods

evaluate(root : NodeNavigator) : ExprResult

evaluate returns the result of the expression. result type of the expression is one of the following Bool | Float64 | String | NodeIterator

Source
select(root : NodeNavigator)

select selects a node set using the specified XPath expression

Source
to_s

returns XPath expression string

Source