RE: [xsl] using parameters in filters?

Subject: RE: [xsl] using parameters in filters?
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Sat, 24 Feb 2001 12:30:39 -0000
Mattias,
As you're already working in javascript and you have your stylesheet in a
dom just modify it directly before doing the transform.

var filterNode =
xslDoc.selectSingleNode("/xsl:stylesheet/xsl:template[@match='something']/xs
l:apply-templates");
filterNode.setAttribute("select", "message[@repliedto = 'False']");
var html = xmlDoc.transformNode(xslDoc);

Similar for the sort.

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread