posts - 165, comments - 198, trackbacks - 0, articles - 1
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

xml -> xls 简单格式

Posted on 2007-11-28 18:13 G_G 阅读(385) 评论(0)  编辑  收藏 所属分类: xml Related

test.xls 中内容 ->
<?xml version="1.0"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o
="urn:schemas-microsoft-com:office:office"
xmlns:x
="urn:schemas-microsoft-com:office:excel"
xmlns:ss
="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html
="http://www.w3.org/TR/REC-html40">

<Worksheet ss:Name="xls1">

 
<Table>
  
<Row>
   
<Cell><Data ss:Type="String">cell a1</Data></Cell>
   
<Cell><Data ss:Type="String">cell b2</Data></Cell>
  
</Row>
  
<Row>
   
<Cell><Data ss:Type="String">cell a2</Data></Cell>
   
<Cell><Data ss:Type="String">cell b3</Data></Cell>
  
</Row>
 
</Table>
</Worksheet>

</Workbook>


展现的样子->
cell a1cell b2
cell a2cell b3


只有注册用户登录后才能发表评论。


网站导航: