Module: Nokogiri::XML::XPath

Defined in:
lib/nokogiri/xml/xpath.rb,
lib/nokogiri/xml/xpath/syntax_error.rb,
ext/nokogiri/nokogiri.c

Defined Under Namespace

Classes: SyntaxError

Constant Summary collapse

GLOBAL_SEARCH_PREFIX =

The XPath search prefix to search globally, //

"//"
ROOT_SEARCH_PREFIX =

The XPath search prefix to search direct descendants of the root element, /

"/"
CURRENT_SEARCH_PREFIX =

The XPath search prefix to search direct descendants of the current element, ./

"./"
SUBTREE_SEARCH_PREFIX =

The XPath search prefix to search anywhere in the current element’s subtree, .//

".//"