Lines Matching refs:reader
18 $reader = new XMLReader();
19 $reader->XML($xml);
20 $reader->setSchema(__DIR__ . '/013.xsd');
21 while($reader->read()) {
22 if ($reader->nodeType == XMLReader::ELEMENT && $reader->name == 'item') {
23 $reader->read();
24 var_dump($reader->value);
27 $reader->close();
38 $reader = new XMLReader();
39 $reader->XML($xml);
40 $reader->setSchema(__DIR__ . '/013.xsd');
41 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
42 $reader->close();