--- loncom/xml/lonxml.pm 2002/10/21 20:31:06 1.207 +++ loncom/xml/lonxml.pm 2002/10/25 18:58:19 1.208 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.207 2002/10/21 20:31:06 albertel Exp $ +# $Id: lonxml.pm,v 1.208 2002/10/25 18:58:19 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -528,7 +528,7 @@ sub xmlparse { # do we have a course style file? # - if ($ENV{'request.course.id'}) { + if ($ENV{'request.course.id'} && $ENV{'request.state'} ne 'construct') { my $bodytext= $ENV{'course.'.$ENV{'request.course.id'}.'.default_xml_style'}; if ($bodytext) {