> From: Kevin O'Neill [mailto:[EMAIL PROTECTED]
> 
> The output of an XSLT can be almost anything text/html,
> application/xml+html, image/svg, application/foo+bar. Wont we need
some
> way of setting this?

You can already specify an output-type attribute for XSL transforms like
this:

<transform type="xslt" path="blah.xsl" output-type="text/barf"/>

It defaults to text/html, although you can change the default by
redefining the factory in the <modules> section.

I don't believe any of the other transform types support this attribute,
but so far it hasn't been requested.  With document transforms (at least
with JSP), the content-type is usually set in the document.

Jeff Schnitzer
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
[INVALID FOOTER]

Reply via email to