Should I be able to define a struct that contains a *string and uses this to unmarshal innerxml content.
See here for an example https://play.golang.org/p/oaGu0rKYNgi
I expect the Struct variable, Containment, to point to
<top xmlns="http://example.com/schema/1.2/config"/>
Instead it is nil.
I see similar example structs in src/encoding/xml/marshal_test.go
type IndirInnerXML struct {
T1 T1
InnerXML *string `xml:",innerxml"`
T2 T2
}
Any help much appreciated.