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

Anthony Ramine n.oxyde@REDACTED
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 <bengt.kleberg@REDACTED> 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
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list