PhpSpreadsheet/samples/Basic/20_Read_Excel2003XML.php

14 lines
323 B
PHP
Raw Normal View History

<?php
use PhpOffice\PhpSpreadsheet\IOFactory;
2017-10-01 08:48:59 +00:00
require __DIR__ . '/../Header.php';
2017-10-01 08:48:59 +00:00
$filename = __DIR__ . '/../templates/Excel2003XMLTest.xml';
$callStartTime = microtime(true);
$spreadsheet = IOFactory::load($filename);
$helper->logRead('Xml', $filename, $callStartTime);
// Save
$helper->write($spreadsheet, __FILE__);