Hi Kiki, Thanks - the first part did the trick! I'd have posted what I had tried, except that I tried probably a dozen variations on different themes, and can't even remember them all.... Also, appreciate the second part of your example - that may come up useful someday.
I've got a couple of things I'm trying to do here - mostly trying to get a number of divergent versions of these XML config files into a canonical form where I can "diff" them more readily, as some have comments, others not, etc. Once I get a representation I'm going to filter variant items that may change such as timestamps, etc. so that they don't "pollute" the diffs as well. Ken On Tue, Oct 25, 2016 at 9:23 AM, Kiki Sugiaman <ksugia...@gmail.com> wrote: > Does either of the two results from the following code give you what you > want? > > https://play.golang.org/p/Dh1N1xPxiw > > > Btw, it wouldn't hurt posting what you have tried to do if you have tried > them. It makes it easy for those who want to give you a suggestion :) > > > -- > 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. > -- 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.