module Nokogiri::XML - nokogiri-1.18.10 Documentation

# module Nokogiri::XML

### Constants

XML_C14N_1_0

  Original C14N 1.0 spec canonicalization

XML_C14N_1_1

  C14N 1.1 spec canonicalization

XML_C14N_EXCLUSIVE_1_0

  Exclusive C14N 1.0 spec canonicalization

### Public Class Methods

Reader(...) click to toggle source

Convenience method for `Nokogiri::XML::Reader.new`

    # File lib/nokogiri/xml.rb, line 21
    def Reader(...)
      Reader.new(...)
    end

RelaxNG(input) → Nokogiri::XML::RelaxNG click to toggle source
RelaxNG(input, options:) → Nokogiri::XML::RelaxNG

Convenience method for `Nokogiri::XML::RelaxNG.new`

    # File lib/nokogiri/xml/relax_ng.rb, line 11
    def RelaxNG(...)
      RelaxNG.new(...)
    end

Schema(input) → Nokogiri::XML::Schema click to toggle source
Schema(input, parse_options) → Nokogiri::XML::Schema

Convenience method for `Nokogiri::XML::Schema.new`

    # File lib/nokogiri/xml/schema.rb, line 11
    def Schema(...)
      Schema.new(...)
    end

fragment(...) click to toggle source

Convenience method for `Nokogiri::XML::DocumentFragment.parse`

    # File lib/nokogiri/xml.rb, line 31
    def fragment(...)
      XML::DocumentFragment.parse(...)
    end

parse(...) click to toggle source

Convenience method for `Nokogiri::XML::Document.parse`

    # File lib/nokogiri/xml.rb, line 26
    def parse(...)
      Document.parse(...)
    end