W3cubDocs

/Nokogiri

module Nokogiri::XML::XPath

Constants

CURRENT_SEARCH_PREFIX

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

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, /

SUBTREE_SEARCH_PREFIX

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

© 2008–2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo,
Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis
Licensed under the MIT License.
https://nokogiri.org/rdoc/Nokogiri/XML/XPath.html