Diff for /loncom/xml/lonxml.pm between versions 1.47 and 1.48

version 1.47, 2001/01/06 16:52:34 version 1.48, 2001/01/12 20:38:05
Line 24  sub register { Line 24  sub register {
     $Apache::lonxml::alltags{$temptag}=$space;      $Apache::lonxml::alltags{$temptag}=$space;
   }    }
 }  }
   
   sub printalltags {
     my $temp;
     foreach $temp (sort keys %Apache::lonxml::alltags) {
       &Apache::lonxml::debug("$temp -- $Apache::lonxml::alltags{$temp}");
     }
   }
                                                                             
 use Apache::style;  use Apache::style;
 use Apache::lontexconvert;  use Apache::lontexconvert;
Line 51  sub xmlparse { Line 58  sub xmlparse {
    $Apache::lonxml::textredirection = 1;     $Apache::lonxml::textredirection = 1;
    $Apache::lonxml::on_offimport = 0;     $Apache::lonxml::on_offimport = 0;
  }   }
    #&printalltags();
  my @pars = ();   my @pars = ();
  @Apache::lonxml::pwd=();   @Apache::lonxml::pwd=();
  my $pwd=$ENV{'request.filename'};   my $pwd=$ENV{'request.filename'};
Line 346  sub handler { Line 354  sub handler {
   my $request=shift;    my $request=shift;
       
   my $target='web';    my $target='web';
 #  $Apache::lonxml::debug=1;    $Apache::lonxml::debug=0;
   if ($ENV{'browser.mathml'}) {    if ($ENV{'browser.mathml'}) {
     $request->content_type('text/xml');      $request->content_type('text/xml');
   } else {    } else {

Removed from v.1.47  
changed lines
  Added in v.1.48


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>