xsl-list
[Top] [All Lists]

Multiple output types (text and XML)

2002-12-11 15:34:46
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



<Prev in Thread] Current Thread [Next in Thread>