I don't know about XPS, but for XSLT, I think this is your culprit. In A::A::Language::LibXSLT.pm at line 129-133, you see this:
if ($last_in_chain && $XML::LibXSLT::VERSION >= 1.03) { my $encoding = $stylesheet->output_encoding; my $type = $stylesheet->media_type; $r->content_type("$type; charset=$encoding"); }
Good catch. I think it looks like we'd have to traverse the stylesheet's DOM looking for the <xsl:output> element, and check if it has an encoding attribute. All very complex but I think that will do what we need.
Matt.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
