Class Nokogiri::XML::DocumentFragment
In: lib/nokogiri/xml/document_fragment.rb
ext/nokogiri/xml_sax_push_parser.c
Parent: Nokogiri::XML::Node

DocumentFragment represents a DocumentFragment node in an xml document.

Methods

css   name   new   new   parse   serialize   to_html   to_s   to_xhtml   to_xml  

Public Class methods

Create a new DocumentFragment from tags.

If ctx is present, it is used as a context node for the subtree created, e.g., namespaces will be resolved relative to ctx.

Create a new DocumentFragment element on the document

Public Instance methods

Search this fragment. See Nokogiri::XML::Node#css

serialize()

Alias for to_s

Convert this DocumentFragment to a string

[Validate]