You need to send the MIME-type before sending the actual content, i.e.
... print "Content-type: text/html\n\n"; print $stylesheet->output_string($results);
(Note the two newlines — an empty line needs to separate the headers from the content.)
In reply to Re: Malformed headers from LibXSLT
by almut
in thread Malformed headers from LibXSLT
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |