Your lib works great and proves that actually there is a way to decode an XML stream into a generic map avoiding the need to declare the data model. (for the ones who know Perl is kinda XML::Simple...)
Thanks! Il giorno venerdì 6 novembre 2015 13:31:55 UTC, C Banning ha scritto: > > What's wrong with using https://github.com/clbanning/mxj? > > On Thursday, November 5, 2015 at 10:13:07 AM UTC-6, mail...@gmail.com > wrote: >> >> I noticed golang can convert a json string to a map[string]interface by >> json.Unmarshal, but I cannot find the similar method in encoding/xml . >> Anyone knows how to convert it? BTW, I do not want to use any third >> library since the project requirement. >> >> Thanks in advance. >> >> -- 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.