Class Nokogiri::XML::XPathContext
In: lib/nokogiri/xml/xpath_context.rb
ext/nokogiri/xml_document_fragment.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 the namespace with prefix and uri.

[Validate]