# File lib/nokogiri/xml/node.rb, line 284
def
to_s
document
.
xml?
?
to_xml
:
to_html
end