Re: [go-nuts] Re: XML unmarshal woes

2017-02-03 Thread Henrik Johansson
I ended up using the excellent package https://github.com/clbanning/mxj by Charles Banning. Thanks a great bunch it really made my day much easier! tors 2 feb. 2017 kl 15:39 skrev Henrik Johansson : > Ahh fantastic thanks a lot! > > tors 2 feb. 2017 kl 15:11 skrev : > > Here is a playground link

Re: [go-nuts] Re: XML unmarshal woes

2017-02-02 Thread Henrik Johansson
Ahh fantastic thanks a lot! tors 2 feb. 2017 kl 15:11 skrev : > Here is a playground link: https://play.golang.org/p/_wJEBd1L9x > > ABStuff string `xml:",innerxml"` > > You can capture the innerxml with an appropriate tag; you can also, as my > third example in the above link demonstrates, captur

[go-nuts] Re: XML unmarshal woes

2017-02-02 Thread howardcshaw
Here is a playground link: https://play.golang.org/p/_wJEBd1L9x ABStuff string `xml:",innerxml"` You can capture the innerxml with an appropriate tag; you can also, as my third example in the above link demonstrates, capture multiple repeated tags like that to a list of values. If, as I think y