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]

Produce html or text file at run time?


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


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