From: Stuart Clarke Date: 2010-08-11T05:34:27+09:00 Subject: Re: Best XML Parser & advice Ok, not to familIar with encoding, so thanks for that. Would you suggest rexml, e.g. xmlData.elements.each("userdata/time"){ |e| puts "Time : " + e.attributes["time"] } Thanks Jonathan Hudson wrote: > On Wed, 11 Aug 2010 04:59:09 +0900, Stuart Clarke wrote: > >> First, each character is delimited by a null character - this is not a >> problem I am I have found a solution to remove the null characters thus >> giving text similar to that above. I am not struggling how I get from an >> array containing the above data with null characters removed to parsing >> the XML? > > Isn't that form of delimiting more commonly called UTF-16 (which > happens also to be a valid XML encoding ...)? > > -jh -- Posted via http://www.ruby-forum.com/.