<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<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="Sheet1">
  <Table>
   <Row>
    <Cell><Data ss:Type="String">aaaaaa</Data></Cell>
 <Cell><Data ss:Type="String">aaaaa2</Data></Cell>
 <Cell><Data ss:Type="String">aaaa33</Data></Cell>
   </Row>
   <Row>
    <Cell><Data ss:Type="String">1515aaa</Data></Cell>
 <Cell><Data ss:Type="String">56516aaaa2</Data></Cell>
 <Cell><Data ss:Type="String">a546456aaa33</Data></Cell>
   </Row>
  </Table>
 </Worksheet>
 
 <Worksheet ss:Name="Sheet2">
  <Table>
   <Row ss:Index="5">
    <Cell><Data ss:Type="String">bbbbbb</Data></Cell>
   </Row>
  </Table>
 </Worksheet>
 
 <Worksheet ss:Name="Sheet3">
  <Table>
   <Row>
    <Cell ss:Index="4"><Data ss:Type="String">ccccccc</Data></Cell>
   </Row>
  </Table>
 </Worksheet>
 
</Workbook>
 
 
 
 
以上格式可將檔案匯出成xml 檔或是xls檔, 是多Sheet 的方法!!
可用於php asp.net asp vb c# .....等各種程式 !!
 
 
沒有留言:
張貼留言