PhpSpreadsheet/samples/20_Read_Excel2003XML.php

12 lines
301 B
PHP

<?php
require __DIR__ . '/Header.php';
$filename = __DIR__ . '/templates/Excel2003XMLTest.xml';
$callStartTime = microtime(true);
$spreadsheet = \PhpSpreadsheet\IOFactory::load($filename);
$helper->logRead('Excel2003XML', $filename, $callStartTime);
// Save
$helper->write($spreadsheet, __FILE__);