From: Aldric Giacomoni <"aldric[removeme]"@...> Date: 2008-12-30T10:34:40+09:00 Subject: rexml/document : one tag not closing Ruby 1.8.6 on Windows. The following code runs fine.. But I don't get the that I expect between and . I can't figure out what I'm doing wrong.. require 'rexml/document' doc = REXML::Document.new datasource = doc.add_element 'DataSources' datasource.add_element( 'DataSource', {'Name' => 'LOCAL', 'Type' => "Cedara DbS P10", 'Default' => '', 'MaxLimit' => 500}) schema = datasource.add_element 'Schema' schema.add_text "DbSP10Schema.xml" connectionstring = datasource.add_element 'ConnectionString' connectionstring.add_text "Provider=ISG OLE DB DbS Provider; Data Source=localhost:3205" doc.write Thanks, --Aldric