Since you're embedding XML in XML you need to parse twice. Btw. it
doesn't really make much sense to have a different encoding in the
nested XML because from XML's point of view the whole document is
encoded with UTF-8 and hence also the inner text needs to use that
encoding. If you want to use a different encoding you'll have to
encode the inner text yourself, probably as binary (e.g. BASE64).
Cheers
robert
···
On Wed, Sep 18, 2013 at 5:38 PM, tt rr <lists@ruby-forum.com> wrote:
Hello,
I have to use the information in a webservice which look like this :