我有一个xml数据如下
<ArrayOfGMADWrapperDto >
<GMADWrapperDto>
<GMADHeaderDto>
<GMADHeaderId>0</GMADHeaderId>
<FileHeaderRecordType>23</FileHeaderRecordType>
<Version>1</Version>
<StartTimeStamp>2017</StartTimeStamp>
<OriginalFileName>GMAD</OriginalFileName>
</GMADHeaderDto>
<GMADDetailDtoList>
<GMADDetailDto>
<GMADDetailId>0</GMADDetailId>
<GMADHeaderId>0</GMADHeaderId>
<RecordType>23120</RecordType>
</GMADDetailDto>
<GMADDetailDto>
<GMADDetailId>0</GMADDetailId>
<GMADHeaderId>0</GMADHeaderId>
<RecordType>23120</RecordType>
</GMADDetailDto>
</GMADDetailDtoList>
</GMADWrapperDto>
<GMADWrapperDto>
<GMADHeaderDto>
<GMADHeaderId>0</GMADHeaderId>
<FileHeaderRecordType>23</FileHeaderRecordType>
<Version>1</Version>
<StartTimeStamp>20172</StartTimeStamp>
<OriginalFileName>GMAD</OriginalFileName>
</GMADHeaderDto>
<GMADDetailDtoList>
<GMADDetailDto>
<GMADDetailId>0</GMADDetailId>
<GMADHeaderId>0</GMADHeaderId>
<RecordType>23120</RecordType>
</GMADDetailDto>
<GMADDetailDto>
<GMADDetailId>0</GMADDetailId>
<GMADHeaderId>0</GMADHeaderId>
<RecordType>23120</RecordType>
</GMADDetailDto>
</GMADDetailDtoList>
</GMADWrapperDto>
我想将 <GMADWrapperDto>
节点下包含的数据作为行获取到表变量。在这里,我们有两组数据 <GMADWrapperDto>
。这意味着,我们需要在表中获取两行记录。请帮助我。