php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /php-7.1.11/ext/xmlreader/examples/ |
files >> //php-7.1.11/ext/xmlreader/examples/xmlreader_relaxNG.php |
<?php $indent = 5; /* Number of spaces to indent per level */ $reader = new XMLReader(); $reader->open('relaxNG.xml'); /* Example setting relaxNG using string: $reader->setRelaxNGSchemaSource(file_get_contents('relaxNG.rng')); */ if ($reader->setRelaxNGSchema('relaxNG.rng')) { while ($reader->read()) { /* Print node name indenting it based on depth and $indent var */ print str_repeat(" ", $reader->depth * $indent).$reader->name."\n"; } } print "\n"; if (! $reader->isValid()) { print "Document is not valid\n"; } else { print "Document is valid\n"; } ?>y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`