[xsl] set header in XSLT

Subject: [xsl] set header in XSLT
From: Ming <myu@xxxxxxxx>
Date: Thu, 18 Apr 2002 11:34:19 -0600
Hi,

I'm using java servlet to display a xml file using XSLT. I need to set the
media type to a specific one. So, I use setContentType in my Java Servlet
and use <xsl:output method="text"
media-type="application/x-research-info-systems"/>.

(I'm not very sure if I should use method="text". But I don't know what to
use)

But I still need to set a header, provider=LAN which a required header
element. I can use the setHeader in my java servlet. But I don't know how
to do this in XSLT.

Can you help me on this?

Thanks a lot in advance for all your help.

Ming



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread