|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: using parameters in filters?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








