日期:2014-05-18 浏览次数:20418 次
var request = new ActiveXObject('Microsoft.XMLHTTP'); request.open("GET", "XMLFile1.xml", false); request.send(); document.all.CellWeb1.ReadFromXML(request.responseText);
<Workbook> <DocumentProperties> <Created>2004-06-11T00:55:04Z</Created> <Version>03.1015</Version> </DocumentProperties> <Worksheet Name="第1页"> <Table> <Row Index="3"> <Cell Index="2"> <Data Type="Number">1234</Data> </Cell> <Cell Index="3"> <Data Type="Number">4567</Data> </Cell> </Row> <Row Index="4"> <Cell Index="2"> <Data Type="String">asd</Data> </Cell> < Cell Index="3"> <Data Type="String">ASDF</Data> </Cell> </Row> </Table> </Worksheet> <Worksheet Name="第2页"> <Table> <Row Index="1"> < Cell Index="1"> <Data Type="Number">1234</Data> </Cell> <Cell Index="2"> <Data Type="Number">4567</Data> </Cell> </Row> </Table> </Worksheet> </Workbook>