On Mon, Dec 11, 2017, at 09:12, Mandolyte wrote: > At my previous company I had a Go program that would take any XML > document > and output it as XML in a nicer human readable format, i.e., pretty > printed. I've trying to find it again, but my searches have not turned up > any. Perhaps I had written myself, but I didn't think so. > > Does anyone have a link to one?
My xmlstream package contains a formatting transformer that might do what you want: https://godoc.org/mellium.im/xmlstream Note that this was written to test some changes for Go 1.10 and it may only build there. —Sam -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.