[xsl] Change an XSLT top-level parameter

Subject: [xsl] Change an XSLT top-level parameter
From: Robert Stuart <Robert.Stuart@xxxxxxxxxxxxxxxxx>
Date: Thu, 8 Nov 2001 16:36:32 -0000
Is there any way I change an XSLT top-level parameter from the client side -
without using java script?

Snippet...

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
	<xsl:output method="xml" version="1.0" encoding="UTF-8"
indent="yes"/>

	<!-- Initialisation -->
	<xsl:variable name="summary" select="'Summary'"/>
	<xsl:variable name="detail" select="'Detail'"/>

	<xsl:param name="mode" select="$summary"/>

	<!-- de-bug option -->
	<!-- xsl:param name="mode" select="$detail"/-->

...


I simply wish to use one .XML file and this one .XSLT file
I have only two modes (Summary or Detail).

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


Current Thread