正在尝试加载包含无限混合元素序列的XML文件(XSD中的序列选择)该文件看起来像这样:.....................我使用xml.Unmarshal来初始化和填充这些结构:typeRootNodestruct{ElementA[]ElementAElementB[]ElementBElementC[]ElementC}typeElementAstruct{}typeElementBstruct{}typeElementCstruct{}我这里有工作示例http://play.golang.org/p/ajIReJS35F.问题是我需要知道原始序列中元素的索引。有了那个描述,