From: dabba dabba Date: 2012-01-14T06:38:16+09:00 Subject: xml reading through REXML and writing to plain text file Hi All, I am parsing a file using REXML and want to write some information from it alongwith xml tags in a plain text file - File.open("abcd.txt", "w") do |f| f.write(...) done while trying to write xml elements with namespace etc using f.write() it is complaining about prefix not able to resolve, two root elements can not be part of it etc. Can you tell me , do i need to prefix this File with a specific library name to avoid treating it as xml file. Thanks -- Posted via http://www.ruby-forum.com/.