original_string: protected function close_xml_writer() {
          if ($this->xmlwriter instanceof xml_writer) {
              $this->xmlwriter->stop();
          }
          unset($this->xmlwriter);
          $this->xmlwriter = null;
          $this->xmlfilename = null;
      }
code: protected function close_xml_writer() {
          if ($this->xmlwriter instanceof xml_writer) {
              $this->xmlwriter->stop();
          }
          unset($this->xmlwriter);
          $this->xmlwriter = null;
          $this->xmlfilename = null;
      }
code_tokens: protected function close_xml_writer ( ) { if ( $ this -> xmlwriter instanceof xml_writer ) { $ this -> xmlwriter -> stop ( ) ; } unset ( $ this -> xmlwriter ) ; $ this -> xmlwriter = null ; $ this -> xmlfilename = null ; }
docstring: Close the XML writer
  
  At the moment, the caller must close all tags before calling
  
  @return void
docstring_tokens: Close the XML writer