[erlang-questions] how: xmerl export without "

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


Greetings,

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>"


bengt




More information about the erlang-questions mailing list