class Nokogiri::XML::Node
def write_xml_to(io, options = {})
doc.write_xml_to io, :encoding => 'UTF-8'
Write Node as XML to +io+ with +options+
##
def write_xml_to(io, options = {}) options[:save_with] ||= SaveOptions::DEFAULT_XML write_to(io, options) end