[erlang-questions] Xmerl full format export

Vlad Dumitrescu vladdu55@REDACTED
Wed Jan 10 21:05:56 CET 2007


Hi,

On 1/10/07, Mikkel Jensen <mj@REDACTED> wrote:
> XmlFull = xmerl_scan:string("<text>Hello World!</text>"),
> xmerl:export([XmlFull], xmerl_xml).          % Doesn't work!

Try

{XmlFull, _} = xmerl_scan:string("<text>Hello World!</text>"),

because xmerl_scan:string returns {xml(), rest_of_input}

best regards,
Vlad



More information about the erlang-questions mailing list