Hi,
I am trying to convert html to pdf using perl module PDF::FromHTML, am getting the error as given below.
not well-formed (invalid token) at line 2, column 17, byte 56 at C:/Perl/lib/XML/Parser.pm line 187 at C:/Perl/site/lib/PDF/FromHTML.pm line 140
The perl code is as given below:
my $pdf = PDF::FromHTML->new( encoding => 'utf-8' );
$pdf->load_file($filename);
$pdf->convert();
$pdf->write_file('output.pdf');
Can anyone please advise whats going on? Ypur help is very much appreciated!
Regards
Dileep