Posts Tagged ‘ xml ’
One of the things I dislike about Erlang is that it severely impairs bragging opportunities. Yesterday I wrote a module that allows writing literal XML in the source and have it parsed into Erlang structures at compile timesort of like E4X minus the manipulation goodies at runtime (at least for now). You write:
Doc = '<greeting>Hello!</greeting>',
io:format("~p~n", [Doc]).
And it prints
[ READ MORE ]