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

          xml -> xls 簡單格式

          Posted on 2007-11-28 18:13 G_G 閱讀(416) 評論(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

          主站蜘蛛池模板: 浦东新区| 玛纳斯县| 措美县| 萨迦县| 元朗区| 贞丰县| 南川市| 诸城市| 焉耆| 临西县| 大港区| 文昌市| 景谷| 四平市| 茂名市| 临夏县| 仲巴县| 高尔夫| 卓资县| 连云港市| 新蔡县| 沂南县| 广州市| 莱州市| 上虞市| 曲周县| 宁城县| 炉霍县| 泰安市| 城步| 隆回县| 普洱| 惠东县| 观塘区| 余江县| 富民县| 高尔夫| 宁都县| 遵义县| 司法| 闽侯县|