Forum Moderators: open
I have an XSL document which current links to one stylesheet to style an XML file. I need to be able to switch the stylesheet name depending on the url or a java variable.
In all of the jsp templates I use <name:product/> to output the product name for any switches like this, how could I do the same thing in the XSL document?
Many thanks
You would probably use xsl:param [w3schools.com].