Subject: Re: Number comparison vs. string comparison
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 24 Apr 2001 10:50:25 +0100
|
> What is the method you mention exactly using a <xsl:param> element and
> passing in a parameter using provided functions ?
see the examples in the SDK, but something like,
var xslTemplate = new ActiveXObject("MSXML2.XSLTemplate.3.0");
xslTemplate.stylesheet=xsl.documentElement;
var xslProc = xslTemplate.createProcessor();
xslProc.addParameter("chunkid", "chapter1" );
xslProc.transform();
where your stylesheet has a parameter chunkid specified by
<xsl:param name="chunkid"/>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|