Lines Matching refs:reader
30 $reader = new XMLReader();
31 $reader->open($file);
32 $reader->setParserProperty(XMLREADER::LOADDTD, TRUE);
33 $reader->setParserProperty(XMLREADER::VALIDATE, TRUE);
34 while($reader->read());
35 if ($reader->isValid()) {
38 $reader->close();
57 $reader = new XMLReader();
58 $reader->XML($xmlstring);
60 $reader->setParserProperty(XMLREADER::LOADDTD, TRUE);
61 $reader->setParserProperty(XMLREADER::VALIDATE, TRUE);
62 while($reader->read());
63 if ($reader->isValid()) {