class Nokogiri::XML::Node

def to_xhtml options = {}

See Node#write_to for a list of +options+

doc.to_xhtml(:indent => 5, :encoding => 'UTF-8')

Serialize this Node to XHTML using +options+
##
def to_xhtml options = {}
  to_format SaveOptions::DEFAULT_XHTML, options
end