--- loncom/xml/lonxml.pm 2000/11/01 17:25:36 1.31 +++ loncom/xml/lonxml.pm 2000/11/06 14:32:35 1.32 @@ -30,12 +30,15 @@ use Apache::scripttag; $Apache::lonxml::outputstack = ''; $Apache::lonxml::redirection = 1; $Apache::lonxml::textredirection = 1; - +$Apache::lonxml::on_offimport = 0; sub xmlparse { my ($target,$content_file_string,$safeinit,%style_for_target) = @_; - if ($target eq 'meta') {$Apache::lonxml::textredirection = 0;} + if ($target eq 'meta') + {$Apache::lonxml::textredirection = 0; + $Apache::lonxml::on_offimport = 1; + } my @pars = (); @Apache::lonxml::pwd=(); my $pwd=$ENV{'request.filename'};