1 package SL::Template::XML;
 
   3 use parent qw(SL::Template::HTML);
 
  11   return $type->SUPER::new(@_);
 
  15   my ($self, $variable) = @_;
 
  16   my $form = $self->{"form"};
 
  18   $variable = $main::locale->quote_special_chars('Template/XML', $variable);
 
  20   # Allow no markup to be converted into the output format
 
  21   my @markup_replace = ('b', 'i', 's', 'u', 'sub', 'sup');
 
  23   foreach my $key (@markup_replace) {
 
  24     $variable =~ s/\<(\/?)${key}\>//g;
 
  38   # tempfile needet for XML Output