/#! James McKinney • Montreal, QC Canada 45.58233 -73.55415 • james@slashpoundbang.com If you print an XML document after adding nodes to it with Nokogiri, the additions may not print at the correct level of indentation. To correct the problem, tell Nokogiri that whitespace between nodes is not meaningful when you first read in the XML document: doc = Nokogiri.XML(string) do |config| config.defaul