Is it possible to have an Apache::AxKit::Provider::Filter handler set
the styles for the output it's passing along?

I.e. currently my handler does something like this:

my $stylesheet = '<?xml-stylesheet href="/app/default.xsl" type="text/xsl"?>';
if( $q->param( 'raw' ) ) {
  undef $stylesheet;
}

$r->print( <<"XML");
<?xml version="1.0"?>
$stylesheet
$xml
XML

return OK

Is there a cleaner way to setting the stylesheet in this handler than printing it to 
the XML?

thanks,
arne


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to