This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Change an XSLT top-level parameter
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Change an XSLT top-level parameter
- From: Robert Stuart <Robert dot Stuart at NFER-NELSON dot co dot uk>
- Date: Thu, 8 Nov 2001 16:36:32 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
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