Class Nokogiri::XML::XPathContext
In: lib/nokogiri/xml/xpath_context.rb
ext/nokogiri/html_document.c
Parent: Object

XPathContext is the entry point for searching a Document by using XPath.

Methods

Public Class methods

Create a new XPathContext with node as the reference point.

Public Instance methods

Evaluate the search_path returning an XML::XPath object.

Register namespaces in namespaces

Register the namespace with prefix and uri.

[Validate]