class Nokogiri::XML::DocumentFragment

def parse(tags, options_ = ParseOptions::DEFAULT_XML, options: options_, &block)

[Returns] Nokogiri::XML::DocumentFragment

can be configured before parsing. See Nokogiri::XML::ParseOptions for more information.
If a block is given, a Nokogiri::XML::ParseOptions object is yielded to the block which
[Yields]

+ParseOptions::DEFAULT_XML+.
behaviors during parsing. See ParseOptions for more information. The default value is
- +options+ (Nokogiri::XML::ParseOptions) Configuration object that determines some
[Optional Keyword Arguments]

- +input+ (String) The content to be parsed.
[Required Parameters]

method creates a new, empty XML::Document to contain the fragment.
Parse \XML fragment input from a String, and return a new XML::DocumentFragment. This

parse(input, options:) → XML::DocumentFragment
parse(input) { |options| ... } → XML::DocumentFragment
:call-seq:
def parse(tags, options_ = ParseOptions::DEFAULT_XML, options: options_, &block)
  new(XML::Document.new, tags, options: options, &block)
end