[erlang-questions] ErlTl question

Hynek Vychodil vychodil.hynek@REDACTED
Sun Feb 8 21:28:29 CET 2009

Or past it to iolist_to_binary/1 and than binary_to_list/1.
As Joseph mentioned, you rarely need to do it. Just send it by socket, write
to file or console.
For example

On Sun, Feb 8, 2009 at 9:17 PM, Joseph Wecker <jwecker@REDACTED> wrote:

> Salonee Sinha Roy wrote:
> >
> >
> > which returns
> > [<<"\n<test_xml>\n">>,<<"Test">>,<<"\n</test_xml>\n">>]
> >
> > How do I use this to generate the xml string
> > "<test_xml>Test</text_xml>". I dont really care about the white space.
> > It can remain in the final xml string.
> If you're writing to a file or screen you're already done- just feed
> that straight in.  For example, try file:write_file/2 your result there
> and then opening it in an editor.
> -Joseph
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions

--Hynek (Pichi) Vychodil

Analyze your data in minutes. Share your insights instantly. Thrill your
boss.  Be a data hero!
Try Good Data now for free: www.gooddata.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090208/c6fdffb5/attachment.htm>

More information about the erlang-questions mailing list