class Nokogiri::XML::RelaxNG
def self.new(input, parse_options_ = ParseOptions::DEFAULT_SCHEMA, options: parse_options_)
future functionality.
⚠ +parse_options+ is currently unused by this method and is present only as a placeholder for
[Returns] Nokogiri::XML::RelaxNG
Defaults to Nokogiri::XML::ParseOptions::DEFAULT_SCHEMA ⚠ Unused
- +options:+ (Nokogiri::XML::ParseOptions)
- +input+ (String | IO) RELAX NG schema definition
[Parameters]
Parse a RELAX NG schema definition from a String or IO to create a new Nokogiri::XML::RelaxNG.
new(input, options:) → Nokogiri::XML::RelaxNG
new(input) → Nokogiri::XML::RelaxNG
:call-seq:
def self.new(input, parse_options_ = ParseOptions::DEFAULT_SCHEMA, options: parse_options_) from_document(Nokogiri::XML::Document.parse(input), options) end