将包含空元素的XML文件加载到Excel 2013中

我正在尝试创buildxml映射,以便将JUnit格式的.xml报告文件加载到Excel 2013表单中。 加载跳过的testing信息遇到了一些困难。 我遵循这个JUnit格式指南: http : //help.catchsoftware.com/display/ET/JUnit+Format

典型的跳过的testing用例XML元素如下所示:

<testcase classname="example classname" name="example testname"> <skipped /> </testcase> 

通过testing没有在testing用例中的额外的元素,所以他们看起来像这样:

 <testcase classname="example classname" name="example testname"> </testcase> 

我希望能够区分跳过的testing和其他testing。

在我的Excel工作表中添加映射到该XML元素后,我可以创build一个链接到映射“跳过”元素的列。 但是,因为他们不存储任何数据,这些列值是空的,即使是跳过的testing用例。 有什么方法可以将关于跳过的元素的信息读入我的表单中?