Subject: Re: XT Javadocs?
From: zun@xxxxxxxxxxxxxx
Date: Tue, 5 Oct 1999 17:34:22 -0400 (EWT)
|
Hi Mitch,
On Tue, 5 Oct 1999, Mitch Christensen wrote:
> I should have specified that I was using XT's XSLServlet. The Subject may not
> have been clear enough. :)
>
> Specifically, the problem I am having is that the media-type is always set to
> text/plain in the response. I see that this is retrieved from an
> AttributeList object. I want the data to be saved to a file by specifying a
> media-type of text/iif, so how do I set a value in the AttributeList object?
You don't need to modify the code for that. All you have to do is
set the media-type attribute in your xsl:output tag in the stylesheet.
For example,
<xsl:output method="text" media-type="text/iif"/>
cf. 15.3 in the XSLT draft.
. . . Sean.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|