On 31 Aug 2017, at 09:30, Jeffrey Smith <jeffreysmith19...@gmail.com> wrote:
> 
> I'm trying to Unmarshal multiple XML files that have differing top level 
> elements but the rest of the document is identical.

You can use the XMLName attribute for this:

https://play.golang.org/p/4nIrfbaC37

//jb

-- 
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.

Reply via email to