[go-nuts] Unmarshalling ordered nested dynamic xml

2020-03-29 Thread Tamás Gulácsi
Write your on parser by calling xml.Decoder.Token() in a loop and storing values as needed? -- 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.

[go-nuts] Unmarshalling ordered nested dynamic xml

2020-03-29 Thread DrGo
Hi, wondering how to unmarshall the xml below (also available here https://play.golang.org/p/QtZwKmrn8HM) into a tree. The challenge is that each element can nest 0 or more *ordered* child elements which can be of different types (eg text, group, choose, macro etc). I tried unmarshalling into