<div dir="ltr">As far as i know the xml standard doesn't allow for unquoted attribute values, which is probably why xmerl outputs it that way. No idea if you can game xmerl to output non-standard xml though.<div><div><br>
</div><div>/Christoffer</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 19, 2013 at 8:32 AM, Bengt Kleberg <span dir="ltr"><<a href="mailto:bengt.kleberg@ericsson.com" target="_blank">bengt.kleberg@ericsson.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings,<br>
<br>
I would like to get rid of " when xmerl export a structure.<br>
<br>
I have the following structure:<br>
[{bike, [{year, 2000}], [{name, ["Suzuki"]}]}]<br>
<br>
When I do<br>
lists:flatten( xmerl:export_simple_content(Bike, xmerl_xml) ).<br>
<br>
the result is<br>
"<bike year=\"2000\"><name>Suzuki</name></bike>"<br>
<br>
How should I do to get<br>
"<bike year=2000><name>Suzuki</name></bike>"<br>
<br>
<br>
bengt<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div>