有人知道一个可以在表格中显示数据的优秀XML编辑器吗?

时间:2015-03-22 16:26:21

标签: xml excel xml-parsing

Excel做得很好,但我很难以正版格式重新保存文档。如果我将其保存在工作表XML中,则所有数据都会折叠到不同的单元格中,我不想这样做。

我需要的是能够添加容易传播到所有数据的列,例如:

<theData>
   <client>
      <name> Jade </name>
      <address> 20 Huffborn St. Cleginsville </address>
      <occupation> Graphics designer </occupation>
   </client>
   <client>
      <name> Chad </name>
      <address> 151 Bakersfield St. </address>
      <occupation> Mechanical engineer </occupation>
   </client>
   <client>
      <name> Stephan </name>
      <address> 34 Oakwood St. </address>
      <occupation> Software engineer </occupation>
   </client>
</theData>

因此,数据应该如下所示:

1 client:name       client:address                  client:occupation    

2 Jade              20 Huffborn St. Cleginsville    Graphic designer
3 Chad              151 Bakersfield St.             Mechanical engineer
4 Stephan           34 Oakwood St.                  Software engineer

我想(在表格视图中)只需添加另一列:

1 client:name    client:surname   client:address                  client:occupation    

2 Jade            Levingston      20 Huffborn St. Cleginsville    Graphic designer
3 Chad            Taft            151 Bakersfield St.             Mechanical engineer
4 Stephan         Phillips        34 Oakwood St.                  Software engineer

然后允许我将文件保存为:

  <theData>
       <client>
          <name> Jade </name>
          <surname> Levingston </surname>
          <address> 20 Huffborn St. Cleginsville </address>
          <occupation> Graphics designer </occupation>
       </client>
       <client>
          <name> Chad </name>
          <surname> Taft </surname>
          <address> 151 Bakersfield St. </address>
          <occupation> Mechanical engineer </occupation>
       </client>
       <client>
          <name> Stephan </name>
          <surname> Phillips </surname>
          <address> 34 Oakwood St. </address>
          <occupation> Software engineer </occupation>
       </client>
    </theData>

同样,对于我正在使用的文件,我无法保存我的XML数据,因为excel抱怨XML地图无法导出。

有人可以点亮房间吗?

1 个答案:

答案 0 :(得分:1)

您的帖子将被删除,因为它不符合问题标准。但是&#34; winhelp xmlpad&#34;可能是你需要的。