This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Produce html or text file at run time?
- To: "'XSL-List at lists dot mulberrytech dot com'" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Produce html or text file at run time?
- From: "Fu, Gwowen" <gfu at chi dot navtech dot com>
- Date: Thu, 4 Jan 2001 13:11:41 -0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Folks,
I'd like to change the output method to produce different file format (html
and text), so I don't have to change the code.
I tried the following, but the method attribute don't accept '$'.
<xsl:param name="OutputType">text</xsl:param>
<xsl:output method="$OutputType"/>
What should I do to produce desired output format dynamicly?
I use msxsl parcer.
Gwowen
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list