[erlang-questions] beginner: xmerl:export_simple/2 wihtout changing > into >

Anthony Ramine <>
Thu Feb 13 13:20:41 CET 2014


No. That would be invalid XML, not even well-formed, even.

Why would an XML implementation allow you to generate ill-formed XML?

-- 
Anthony Ramine

Le 13 févr. 2014 à 13:12, Bengt Kleberg <> a écrit :

> Greetings,
> 
> Is there a way to tell xmerl:export_simple/2 that I do not want to
> replace ">" with ">"?
> 
> To generate HTML I use
> xmerl:export_simple( [{html, [], [Body]}], xmerl_xml ).
> where Body is {body, [], ["Some text with >"]}
> 
> I need ">" in Body to remain ">". Is there some way to express this to
> xmerl?
> 
> 
> bengt
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list