File: //usr/local/rvm/gems/default/doc/nokogiri-1.12.5-x86_64-linux/ri/Nokogiri/XML/Document/parse-c.ri
U:RDoc::AnyMethod[iI"
parse:ETI"#Nokogiri::XML::Document::parse;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Parse an XML file.;To:RDoc::Markup::BlankLine o;
; [I"D+string_or_io+ may be a String, or any object that responds to ;TI"3_read_ and _close_ such as an IO, or StringIO.;T@o;
; [I"@+url+ (optional) is the URI where this document is located.;T@o;
; [I"O+encoding+ (optional) is the encoding that should be used when processing ;TI"the document.;T@o;
; [I"M+options+ (optional) is a configuration object that sets options during ;TI"Dparsing, such as Nokogiri::XML::ParseOptions::RECOVER. See the ;TI"6Nokogiri::XML::ParseOptions for more information.;T@o;
; [I"B+block+ (optional) is passed a configuration object on which ;TI"parse options may be set.;T@o;
; [
I"@By default, Nokogiri treats documents as untrusted, and so ;TI">does not attempt to load DTDs or access the network. See ;TI"ANokogiri::XML::ParseOptions for a complete list of options; ;TI"Dand that module's DEFAULT_XML constant for what's set (and not ;TI"set) by default.;T@o;
; [I"HNokogiri.XML() is a convenience method which will call this method.;T:
@fileI"!lib/nokogiri/xml/document.rb;T:0@omit_headings_from_table_of_contents_below00I"options;T[ I"S(string_or_io, url = nil, encoding = nil, options = ParseOptions::DEFAULT_XML);T@-FI"
Document;TcRDoc::NormalClass00