Converts the XML parser to a String.
Returns:
The path of the XML file or the raw XML.
439 440 441 442 443
# File 'lib/nmap/xml.rb', line 439 def to_s if @path then @path.to_s else @doc.to_s end end