Open
Description
It would be nice if the encoding/xml package would allow to unmarshal unknown / not explicitly mapped XML elements as raw XML. This could be achieved by either allowing to combine the ",innerxml" and ",any" tags for struct fields or by introducing a new tag ",anyxml" or something similar. Example: type MyStruct struct { Name string `xml:"name"` Rest []string `xml:",any,innerxml"` }