in reply to Malformed headers from LibXSLT

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.)

Replies are listed 'Best First'.
Re^2: Malformed headers from LibXSLT
by Anonymous Monk on Apr 12, 2008 at 11:31 UTC
    D'oh! Hits head on PC table. Thanks.