摘要: require "rubygems" require "nokogiri" def prettify(xml_file, new_filename) doc = Nokogiri::XML( File.open(xml_file) ) File.open(new_filename, 'w') do 阅读全文
posted @ 2024-10-07 23:32 profesor 阅读(5) 评论(0) 推荐(0) 编辑