Lines Matching refs:reader
13 $reader = new XMLReader(); variable
14 $reader->XML($xmlstring);
15 while ($reader->read()) {
16 if ($reader->nodeType != XMLREADER::END_ELEMENT) {
17 print "Node Name: ".$reader->name."\n";
18 print "Node Value: ".$reader->value."\n";
19 print "Node Depth: ".$reader->depth."\n";
20 if ($reader->nodeType==XMLREADER::ELEMENT && $reader->hasAttributes) {
21 $attr = $reader->moveToFirstAttribute();
23 print " Attribute Name: ".$reader->name."\n";
24 print " Attribute Value: ".$reader->value."\n";
25 $attr = $reader->moveToNextAttribute();