-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
For some time (see https://elixirforum.com/t/what-is-your-best-trick-to-pretty-print-a-xml-string-with-elixir-or-erlang/42010), I've wondered what is the best way to indent XML (like xmllint --format file.xml
does), in order to make it more readable to humans.
I have came across javascript packages (https://www.npmjs.com/package/xml-formatter) which does that.
I wonder if someone has already implemented that with Saxy, ideally in a way that does not require a full in-RAM storage (simple_form), but instead streamed if possible.
Opening this issue to create a bit of discussion, and I will definitely comment back & create extra documentation if I find how to achieve that (for now I'll rely on javascript-land).
Related:
Metadata
Metadata
Assignees
Labels
No labels