Add a note about XMLReader::isValid() only checks for the current node, not the entire document and improve the comment in the example a little

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333737 c90b9560-bf6c-de11-be94-00142212c4b1