perl-unicode

Re: In-Band Information Considered Harmfult

1998-10-24 21:23:26
According to Benjamin Holzman:
my $dsd = new DSD 'foo.dsd'; # Indicates that <emph> tag is ignored
my $xml = "perl is <emph>terrific</emph>";
$dsd->apply($xml);
$xml =~ /perl is terrific/;  # Matches!

How about:

   $x2 = $dsd->to_meta($xml);
   $x2 =~ /perl is terrific/;  # Matches!

?
-- 
Chip Salzenberg               - a.k.a. -              
<chip(_at_)perlsupport(_dot_)com>
 "... under cover of afternoon in the biggest car in the county?!" //MST3K