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]

Re: Number comparison vs. string comparison



> 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


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