This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
set header in XSLT
- From: Ming <myu at lanl dot gov>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 18 Apr 2002 11:34:19 -0600
- Subject: [xsl] set header in XSLT
- References: <000e01c1e677$456c59b0$2800a8c0@MICHAELPC>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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