Simple DOM XML decoder/encoder for Erlang