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