1. Yuji Hanamura
  2. XmlFormatter4JR

Commits

Yuji Hanamura  committed 6066ca5

Fixed a comment.

  • Participants
  • Parent commits eeaf0ce
  • Branches default

Comments (0)

Files changed (1)

File xmlformatter.rb

View file
  • Ignore whitespace
 
 
 =begin
-If +format+ is true, return the formatted xml string.
-Else, return the xml string.
+This method to format xml string.
+
+[in_xml]
+  Target xml string.
+[indent]
+  Indentation width.
 =end
 def format_xml(in_xml, indent=2)
   doc = REXML::Document.new(in_xml)