class XPath2::Expr

Overview

Expr is an XPath expression for Query

Defined in:

xpath2.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(s, q) #

[View source]

Instance Method Detail

def 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


[View source]
def select(root : NodeNavigator) #

select selects a node set using the specified XPath expression


[View source]
def to_s : String #

returns XPath expression string


[View source]