[erlang-questions] how: xmerl export without "

Bengt Kleberg bengt.kleberg@REDACTED
Thu Sep 19 08:32:39 CEST 2013


I would like to get rid of " when xmerl export a structure.

I have the following structure:
[{bike, [{year, 2000}], [{name, ["Suzuki"]}]}]

When I do
lists:flatten( xmerl:export_simple_content(Bike, xmerl_xml) ).

the result is
"<bike year=\"2000\"><name>Suzuki</name></bike>"

How should I do to get
"<bike year=2000><name>Suzuki</name></bike>"


More information about the erlang-questions mailing list