This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Change an XSLT top-level parameter


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]