20_Read_Excel2003XML.php 323 B

12345678910111213
  1. <?php
  2. use PhpOffice\PhpSpreadsheet\IOFactory;
  3. require __DIR__ . '/../Header.php';
  4. $filename = __DIR__ . '/../templates/Excel2003XMLTest.xml';
  5. $callStartTime = microtime(true);
  6. $spreadsheet = IOFactory::load($filename);
  7. $helper->logRead('Xml', $filename, $callStartTime);
  8. // Save
  9. $helper->write($spreadsheet, __FILE__);