module Nokogiri::XML
def load_external_subsets=(value = true)
##
def load_external_subsets=(value = true) Document.load_external_subsets = value end
def parse string_or_io, url = nil, encoding = nil, options = 2159
##
def parse string_or_io, url = nil, encoding = nil, options = 2159 if string_or_io.respond_to?(:read) url ||= string_or_io.respond_to?(:path) ? string_or_io.path : nil return Document.read_io(string_or_io, url, encoding, options) end # read_memory pukes on empty docs return Document.new if string_or_io.nil? or string_or_io.empty? Document.read_memory(string_or_io, url, encoding, options) end
def substitute_entities=(value = true)
##
def substitute_entities=(value = true) Document.substitute_entities = value end