I'm receiving an XML document where entities have already been 'encoded', for example :
http://site.com?val1=5&val2=5
is the content value, so that Node.content returns the 'encoded' entities.
I ended up using the REXML::Text.unnormalize(url)
and was wandering if there is an libxml-ruby equivalent that I missed.
Thanks,
emil
|