[erlang-questions] Xmerl full format export

Mikkel Jensen <>
Wed Jan 10 21:11:06 CET 2007


Thanks alot Vlad!

I knew I was missing something obvious (doh!)

- Mikkel

On 1/10/07, Vlad Dumitrescu <> wrote:
>
> Hi,
>
> On 1/10/07, Mikkel Jensen <> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070110/a6ca3a75/attachment.html>


More information about the erlang-questions mailing list