Subject: Re: [xsl] using parameters in filters? From: "Mattias Konradsson" <preacher@xxxxxxxxxxx> Date: Sat, 24 Feb 2001 14:03:33 +0100 |
> 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 Yeah I know .. that was the way I did it before but I thought "gee wiz, parameters... now I can write a clean and nice parameterized stylesheets" but here's a newsflash "WHAT FRIGGIN GOOD IS PARAMETERS IF YOU CAN'T INSERT THEM EVERYWHERE" :) ...and of course you couldn't set the order attribute of the sort element to a param either, go figure Best Regards ---- Mattias Konradsson XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] using parameters in filte, Chris Bayes | Thread | Re: [xsl] using parameters in filte, Jeni Tennison |
Re: [xsl] Global location path conf, Jonas Eschenburg | Date | Re: [xsl] Question regarding msxml3, Michael Beddow |
Month |