posts - 165, comments - 198, trackbacks - 0, articles - 1
            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

          xml -> xls 簡單格式

          Posted on 2007-11-28 18:13 G_G 閱讀(414) 評論(0)  編輯  收藏 所屬分類: xml Related

          test.xls 中內(nèi)容 ->
          <?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>


          展現(xiàn)的樣子->
          cell a1cell b2
          cell a2cell b3

          主站蜘蛛池模板: 确山县| 河津市| 舞阳县| 额敏县| 塔城市| 沐川县| 梁山县| 松原市| 河源市| 河曲县| 辽中县| 中西区| 赤壁市| 威信县| 武宣县| 高阳县| 阜南县| 芜湖县| 包头市| 黎城县| 绥中县| 河西区| 遂川县| 穆棱市| 台南县| 绿春县| 磐安县| 敖汉旗| 都江堰市| 古丈县| 金华市| 济南市| 高陵县| 枞阳县| 噶尔县| 布尔津县| 民勤县| 鸡泽县| 大冶市| 银川市| 饶平县|