如何把Excel表格数据转成XML
2010-01-22 11:05
309 查看
因为case的管理工具现在要使用开源工具testlink,这就导致如何移植历史数据的问题。之前case管理工具是devtest,可以export excel格式的用例,但是testlink只能import XML的数据。如何能把EXCEL转成XML,我自己试了一下。
首要的步骤是创建mapped ranges(mapped range: A range in an XML list that has been linked to an element an XML map.)
Steps:
1. If the Developer tab is not available, do the following to display it:
1. Click the Microsoft Office Button , and then click Excel Options.
2. In the Popular category, under Top options for working with Excel, select the Show Developer tab in the Ribbon check box, and then click OK.
2. On the Developer tab, in the XML group, click Source.
The XML Source task pane is displayed.
3. To map one or more elements to your worksheet, select the elements in the XML Source task pane. To select nonadjacent elements, click one element, and then hold down CTRL and click each element.
4. Drag the selected elements to the worksheet location where you want them to appear.
Note:这就涉及一个问题,首先要找好XML source文件,我的做法是在testlink创建一个test case,然后export,用这个XML文件作为source。
首要的步骤是创建mapped ranges(mapped range: A range in an XML list that has been linked to an element an XML map.)
Steps:
1. If the Developer tab is not available, do the following to display it:
1. Click the Microsoft Office Button , and then click Excel Options.
2. In the Popular category, under Top options for working with Excel, select the Show Developer tab in the Ribbon check box, and then click OK.
2. On the Developer tab, in the XML group, click Source.
The XML Source task pane is displayed.
3. To map one or more elements to your worksheet, select the elements in the XML Source task pane. To select nonadjacent elements, click one element, and then hold down CTRL and click each element.
4. Drag the selected elements to the worksheet location where you want them to appear.
Note:这就涉及一个问题,首先要找好XML source文件,我的做法是在testlink创建一个test case,然后export,用这个XML文件作为source。
相关文章推荐
- 如何将excel表格数据使用图形化工具workbench导入mysql数据库中
- 以实例说明如何使用C#从数据库中提取数据,按要求自动生成定制的Excel表格?
- excel中如何拷贝已经筛选出来的数据到另外的一表格中
- 如何将Excel和xml文件数据保存到数据库
- Excel数据表格中如何将姓名信息
- Oracle EBS R12 XML数据表格的Excel脚本报表
- Excel表格数据丢失如何快速恢复?
- 如何将Excel和xml文件数据保存到数据库
- Excel数据表格中如何利用“高级
- C#如何读取Excel表格数据并显示到GridView控件
- C#中数据库数据如何导出至Excel表格
- Oracle EBS R12 XML数据表格的Excel脚本报表
- excel表格中的数据如何放到数据库中(非导入)
- Oracle EBS R12 XML数据表格的Excel脚本报表
- 如何用Excel文档转成XML数据(有图有真相)
- 以实例说明如何使用C#从数据库中提取数据,按要求自动生成定制的Excel表格?[转]
- C#后台制作之数据库(二、如何清除显示以及将数据库数据导出到excel表格文件中)
- 将excel表格数据转换为xml文本数据
- 如何使用免费控件将Word表格中的数据导入到Excel中
- 如何用安卓编写类Excel的表格并填充数据