+ eval { require XML::Simple };
+ eval { require XML::SAX } unless $@;
+ eval { require XML::SAX::Expat } unless $@;
+ if ($@) {
+ LogDbg('err', "do_xml was set to 1 and the XML routines failed to load ($@)");
+ $main::do_xml = 0;
+ } else {
+ $XML::Simple::PREFERRED_PARSER = 'XML::SAX::Expat';