--- loncom/homework/daxeopen.pm 2015/12/10 16:26:43 1.2 +++ loncom/homework/daxeopen.pm 2015/12/15 15:00:58 1.3 @@ -1,7 +1,7 @@ # The LearningOnline Network # Opening converted problems and directory listings for Daxe # -# $Id: daxeopen.pm,v 1.2 2015/12/10 16:26:43 damieng Exp $ +# $Id: daxeopen.pm,v 1.3 2015/12/15 15:00:58 damieng Exp $ # # Copyright Michigan State University Board of Trustees # @@ -71,7 +71,7 @@ sub convert_problem { my $warnings = 0; # no warning printed my $textref = &Apache::pre_xml::pre_xml($file, $warnings); $textref = &Apache::html_to_xml::html_to_xml($textref, $warnings); - my $text = &Apache::post_xml::post_xml($textref, $file, $warnings); + my $text = &Apache::post_xml::post_xml($textref, $file, $perlvar{'lonDocRoot'}, $warnings); &Apache::loncommon::content_type($request, 'text/xml', 'utf-8'); $request->print($text); return OK;