This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

set header in XSLT


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]