Nokogiri::XML::Document

class Nokogiri::XML::Document

Parent:
Nokogiri::XML::Node

Nokogiri::XML::Document wraps an xml document.

Nokogiri::XML::Document is the main entry point for dealing with XML documents. The Document is created by parsing an XML document. See ::parse for more information on parsing.

For searching a Document, see Nokogiri::XML::Searchable#cs