Class Nokogiri::XML::Document
In: lib/nokogiri/xml/document.rb
ext/nokogiri/xml_document_fragment.c
Parent: Node

Methods

External Aliases

serialize -> to_xml
serialize -> inner_html

Attributes

errors  [RW] 

Public Class methods

Set the global XML default for load external subsets.

Create a new document

Set the global XML default for substitute entities.

Public Instance methods

Apply any decorators to node

Copy this Document. An optional depth may be passed in, but it defaults to a deep copy. 0 is a shallow copy, 1 is a deep copy.

Get the encoding for this Document

Get the root node for this document.

Set the root element on this document

Explore a document with shortcut methods.

Get the url name for this document.

[Validate]