You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Jon Smirl <jo...@mediaone.net> on 2000/06/22 02:50:07 UTC

Xalan-C: mime types and encoding

How am I supposed to know what mime type to add to the output stream (xml,
text, html)? I need to set this before Xalan starts writing to the output
stream. XT took care of this for me via an output stage that knew it is was
in a servlet and needed to set the mime type and encoding.

I poked around in the source for a while and couldn't figure out a simple
way to achieve this.

Jon Smirl
jonsmirl@mediaone.net