[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Produce html or text file at run time?


Subject: [xsl] Produce html or text file at run time?
From: "Fu, Gwowen" <gfu@xxxxxxxxxxxxxxx>
Date: Thu, 4 Jan 2001 13:11:41 -0600

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



Current Thread