--- loncom/xml/lonxml.pm 2005/03/16 15:46:42 1.364
+++ loncom/xml/lonxml.pm 2005/03/17 13:56:32 1.366
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.364 2005/03/16 15:46:42 albertel Exp $
+# $Id: lonxml.pm,v 1.366 2005/03/17 13:56:32 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1056,7 +1056,8 @@ sub get_all_text {
sub newparser {
my ($parser,$contentref,$dir) = @_;
push (@$parser,HTML::LCParser->new($contentref));
- $$parser['-1']->xml_mode('1');
+ $$parser[-1]->xml_mode(1);
+ $$parser[-1]->marked_sections(1);
if ( $dir eq '' ) {
push (@Apache::lonxml::pwd, $Apache::lonxml::pwd[$#Apache::lonxml::pwd]);
} else {
@@ -1251,7 +1252,7 @@ $initialize
$xml_help
$buttons
-
+
$buttons