--- loncom/xml/scripttag.pm 2003/02/24 23:32:32 1.86 +++ loncom/xml/scripttag.pm 2003/06/18 20:36:32 1.98 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # $linktext"; } elsif ($target eq 'tex') { $result = '}'; } else { @@ -308,7 +324,10 @@ sub start_import { my $id= &Apache::lonxml::get_param('id',$parstack,$safeeval); if (!$id) { $id=$Apache::lonxml::curdepth; } push(@Apache::inputtags::import,$id); - &Apache::lonxml::newparser($parser,\$file,$dir); + push(@Apache::inputtags::importlist,$id); + + &Apache::lonxml::newparser($parser,\$file,$dir); + } elsif ($target eq "edit" ) { $result.=&Apache::edit::tag_start($target,$token); $result.=&Apache::edit::editline($token->[1],$bodytext,'',40); @@ -427,7 +446,7 @@ sub end_comment { sub xmlparse { my ($string) = @_; - &Apache::lonxml::debug("Got $string"); +# &Apache::lonxml::debug("Got $string"); my ($target,$token,$tagstack,$parstack,$oldparser,$safeeval,$style)= @Apache::scripttag::parser_env; my @parser;