don't pass it a parameter just use a different stylesheet.
have your main stylesheet output html (say) and teh write another
stulesheet that just has an xsl:output method="xml" and an xsl:import of
the first.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list