XML : Unable to parse xml in GO with : in tags

I find that if tags in xml file have : in them the unmarshal code in Go does not seem to work . Any insights ? eg in xml file Summary works but not Cevent.

...AIR QUALITY ALERT Air Quality Alert

type Entry struct{ Summary string xml:"summary" Cevent string xml:"cap:event" }

No comments:

Post a Comment