This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Number comparison vs. string comparison
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Number comparison vs. string comparison
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 24 Apr 2001 10:50:25 +0100
- References: <A1CF4CAEC063D41186B70000B4B7A27B0C5B@CAMERON>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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