Note that you don't need to read the file into a string variable. Nokogiri will do this for you. doc = File.open("blossom.xml") { |f| Nokogiri::XML(f) }.
確定! 回上一頁