ri > Nokogiri::XML::Document

= Nokogiri::XML::Document < Nokogiri::XML::Node

(from /home/chedong/.local/share/rdoc)
------------------------------------------------------------------------
Nokogiri::XML::Document is the main entry point for dealing with XML
documents.  The Document is created by parsing an XML document.  See
Nokogiri::XML::Document.parse for more information on parsing.

For searching a Document, see Nokogiri::XML::Searchable#css and
Nokogiri::XML::Searchable#xpath
------------------------------------------------------------------------
= Constants:

NCNAME_CHAR:
  [not documented]

NCNAME_RE:
  [not documented]

NCNAME_START_CHAR:
  See http://www.w3.org/TR/REC-xml-names/#ns-decl for more details. Note
  that we're not attempting to handle unicode characters partly because
  libxml2 doesn't handle unicode characters in NCNAMEs.


= Class methods:

  empty_doc?
  parse
  wrap

= Instance methods:

  <<
  add_child
  collect_namespaces
  create_cdata
  create_comment
  create_element
  create_text_node
  decorate
  decorators
  document
  errors
  fragment
  name
  namespace_inheritance
  namespaces
  slop!
  to_java
  validate
  xpath_doctype

= Attributes:

  attr_accessor errors
  attr_accessor namespace_inheritance

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 22:51 @216.73.216.177
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!