original_string: public function xmlOutput() {
          $o = '';
          $o.= '    <TABLE NAME="' . $this->name . '"';
          if ($this->comment) {
              $o.= ' COMMENT="' . htmlspecialchars($this->comment) . '"';
          }
          $o.= '>' . "\n";
          // Now the fields
          if ($this->fields) {
              $o.= '      <FIELDS>' . "\n";
              foreach ($this->fields as $field) {
                  $o.= $field->xmlOutput();
              }
              $o.= '      </FIELDS>' . "\n";
          }
          // Now the keys
          if ($this->keys) {
              $o.= '      <KEYS>' . "\n";
              foreach ($this->keys as $key) {
                  $o.= $key->xmlOutput();
              }
              $o.= '      </KEYS>' . "\n";
          }
          // Now the indexes
          if ($this->indexes) {
              $o.= '      <INDEXES>' . "\n";
              foreach ($this->indexes as $index) {
                  $o.= $index->xmlOutput();
              }
              $o.= '      </INDEXES>' . "\n";
          }
          $o.= '    </TABLE>' . "\n";
  
          return $o;
      }
code: public function xmlOutput() {
          $o = '';
          $o.= '    <TABLE NAME="' . $this->name . '"';
          if ($this->comment) {
              $o.= ' COMMENT="' . htmlspecialchars($this->comment) . '"';
          }
          $o.= '>' . "\n";
          // Now the fields
          if ($this->fields) {
              $o.= '      <FIELDS>' . "\n";
              foreach ($this->fields as $field) {
                  $o.= $field->xmlOutput();
              }
              $o.= '      </FIELDS>' . "\n";
          }
          // Now the keys
          if ($this->keys) {
              $o.= '      <KEYS>' . "\n";
              foreach ($this->keys as $key) {
                  $o.= $key->xmlOutput();
              }
              $o.= '      </KEYS>' . "\n";
          }
          // Now the indexes
          if ($this->indexes) {
              $o.= '      <INDEXES>' . "\n";
              foreach ($this->indexes as $index) {
                  $o.= $index->xmlOutput();
              }
              $o.= '      </INDEXES>' . "\n";
          }
          $o.= '    </TABLE>' . "\n";
  
          return $o;
      }
code_tokens: public function xmlOutput ( ) { $ o = '' ; $ o .= '    <TABLE NAME="' . $ this -> name . '"' ; if ( $ this -> comment ) { $ o .= ' COMMENT="' . htmlspecialchars ( $ this -> comment ) . '"' ; } $ o .= '>' . "\n" ; // Now the fields if ( $ this -> fields ) { $ o .= '      <FIELDS>' . "\n" ; foreach ( $ this -> fields as $ field ) { $ o .= $ field -> xmlOutput ( ) ; } $ o .= '      </FIELDS>' . "\n" ; } // Now the keys if ( $ this -> keys ) { $ o .= '      <KEYS>' . "\n" ; foreach ( $ this -> keys as $ key ) { $ o .= $ key -> xmlOutput ( ) ; } $ o .= '      </KEYS>' . "\n" ; } // Now the indexes if ( $ this -> indexes ) { $ o .= '      <INDEXES>' . "\n" ; foreach ( $ this -> indexes as $ index ) { $ o .= $ index -> xmlOutput ( ) ; } $ o .= '      </INDEXES>' . "\n" ; } $ o .= '    </TABLE>' . "\n" ; return $ o ; }
docstring: This function will output the XML text for one table
  @return string
docstring_tokens: This function will output the XML text for one table