[erlang-questions] cdata xmerl export

Nahuel Greco <>
Fri Aug 20 21:34:41 CEST 2010


The 'type' attribute seems to be ignored in xmerl.erl, probably there
is no support for emit it right now (missing feature or bug ? :) ).

Saludos,
Nahuel Greco.



On Fri, Aug 20, 2010 at 2:14 PM, Rapsey <> wrote:
> How do I produce an xml with values inside <[CDATA[....]]>? This isn't
> working:
>
> Xml = [{blabla,[#xmlText{type = cdata, value = "sometext"}]}],
> lists:flatten(xmerl:export_simple(L, xmerl_xml, [{prolog, ["<?xml
> version=\"1.0\" encoding=\"utf-8\"?>"]}]))
>
>
>
> Sergej
>


More information about the erlang-questions mailing list