From: Zach Dennis Date: 2005-09-06T01:26:37+09:00 Subject: Re: Encoding hell On Tue, 2005-09-06 at 00:58 +0900, Christian Neukirchen wrote: > > > > Another way of looking at this: you're getting one XML document > > embedded in another: > > > > enclosing_doc = REXML::Document.new(str) > > real_doc = REXML::Document.new(enclosing_doc.elements["/string"].text) > > Good call. then unescape real_doc... Zach