api for XML

1.0.1 2019-04-24 17:37 UTC

This package is auto-updated.

Last update: 2024-04-25 06:55:28 UTC


README

#stream api xml

use example

$file = 'file.xml';

$callback = function(\Mirolabs\Sax\Xml\XmlObject $obj) {
    var_dump($obj->findTag('img', true)->getContent());
};

$finder = new Mirolabs\Sax\Finder($callback, 128);
$finder->find($file, 'event');