[xsl] Multiple output types (text and XML)

Subject: [xsl] Multiple output types (text and XML)
From: "Dion Houston" <dionh@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Dec 2002 14:34:46 -0800
Hi all:

I've got a stylesheet that depending on a parameter outputs either text
or XML.  Since xsl:output only takes "xml", "html", "text", or a qname,
I'm currently manually changing the stylesheet as appropriate to output
a different type.

Does anyone have any suggestions for getting around this?  I know XSLT2
makes the method attribute an AVT, but right now I'm working with v1.

Thanks!

Dion

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread